Skip to content

Commit

Permalink
fix some type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
talentlessguy committed Nov 7, 2024
1 parent 71671a4 commit bc53a96
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type PageButtonsProps = {
alwaysShowLast?: boolean
showEllipsis?: boolean
onChange: (value: number) => void
} & Omit<NativeDivProps, 'children' | 'onChange'>
} & Omit<NativeDivProps, 'children' | 'onChange' | 'color' | 'height' | 'width'>

enum Marker {
ellipsis = -1,
Expand Down Expand Up @@ -64,7 +64,9 @@ const PageButton = ({
minWidth={getValueForSize($size, 'minWidth')}
padding="2"
pointerEvents={$selected ? 'none' : 'auto'}
transition="all 0.15s ease-in-out"
transitionDuration={150}
transitionProperty="all"
transitionTimingFunction="ease-in-out"
/>
)

Expand Down
5 changes: 4 additions & 1 deletion components/src/components/molecules/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const SelectActionButton = ({
paddingRight={getValueForSize($size, 'outerPadding')}
>
<Box
as={<CrossCircleSVG />}
as={CrossCircleSVG}
display="block"
wh={getValueForSize($size, 'iconWidth')}
/>
Expand Down Expand Up @@ -499,6 +499,9 @@ Omit<
| 'aria-invalid'
| 'onClick'
| 'onKeyDown'
| 'color'
| 'height'
| 'width'
>

const getPadding = (
Expand Down

0 comments on commit bc53a96

Please sign in to comment.