Skip to content

Commit

Permalink
should support number type (#716)
Browse files Browse the repository at this point in the history
  • Loading branch information
rockey2020 committed May 10, 2024
1 parent d47a767 commit 59cee2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-vant/src/components/picker/PropsType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export type PickerToolbarPosition = 'top' | 'bottom'
/** 列选项 */
export type PickerColumnOption = {
text?: React.ReactNode
value?: string
value?: string | number
children?: PickerColumnOption[]
disabled?: boolean
} & Record<string, any>
Expand Down

0 comments on commit 59cee2c

Please sign in to comment.