Skip to content

Commit

Permalink
Don't pass unused props to NativeSelect
Browse files Browse the repository at this point in the history
  • Loading branch information
mendrew committed Mar 6, 2024
1 parent e140ea9 commit c9b2e2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/vkui/src/components/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,16 @@ export const Select = <OptionT extends CustomSelectOptionInterface>({
icon,
ClearButton,
allowClearButton,
clearButtonTestId,
dropdownOffsetDistance,
dropdownAutoWidth,
forceDropdownPortal,
selectType,
noMaxHeight,
autoHideScrollbar,
autoHideScrollbarDelay,
labelTextTestId,
nativeSelectTestId,
...nativeProps // TODO: https://github.com/Microsoft/TypeScript/issues/12936
} = props;

Expand Down

0 comments on commit c9b2e2d

Please sign in to comment.