Skip to content

Commit

Permalink
fix: allowed use number id in Select
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorGoryany committed Aug 29, 2024
1 parent a279902 commit 00c8852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/harmony/Select/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ interface SelectProps extends ComponentProps<typeof Dropdown> {
children: ReactNode;
}

export const Select = <T extends { id: string }>({
export const Select = <T extends { id: string | number }>({
children,
isOpen,
onClose,
Expand Down

0 comments on commit 00c8852

Please sign in to comment.