Skip to content

Commit

Permalink
Merge pull request #749 from lyytioy/fix-number-input
Browse files Browse the repository at this point in the history
NumberInput fix increment and decrement button types
  • Loading branch information
mikael-jarvinen authored Jan 12, 2024
2 parents af82cef + 13f7df6 commit 20347d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/NumberInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const NumberInput = (
<Box sx={{ display: 'flex', flexDirection: 'column', justifyContent: 'center' }}>
<Box
component="button"
type="button"
{...getIncrementButtonProps()}
sx={{
bgcolor: color === 'white' ? undefined : 'grey.100',
Expand All @@ -88,6 +89,7 @@ const NumberInput = (
</Box>
<Box
component="button"
type="button"
{...getDecrementButtonProps()}
sx={{
bgcolor: color === 'white' ? undefined : 'grey.100',
Expand Down

0 comments on commit 20347d9

Please sign in to comment.