You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| renderLabel | The function to custom rendering the label shown on a column. `type` means any value in `precision`, `data` means the default number |`(type: string, data: number) => ReactNode`| - |
72
73
| filter | Filter available time |`DatePickerFilter`| - |
74
+
| mouseWheel | Whether to allow interact with mouse wheel |`boolean`|`false`|
73
75
74
76
For the type definition and usage of `DatePickerFilter`, please refer to the document of [DatePicker](./picker#datepicker).
Copy file name to clipboardExpand all lines: src/components/picker/index.en.md
+2
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,7 @@ type PickerValueExtend = {
42
42
| cancelText | Text of the cancel button | `ReactNode` | `'取消'` |
43
43
| children | Render function of the selected options | `(items:PickerColumnItem[]) =>ReactNode` | - |
44
44
| renderLabel | The function to custom rendering the label shown on a column | `(item:PickerColumnItem) =>ReactNode` | `(item) =>item.label` |
45
+
| mouseWheel | Whether to allow interact with mouse wheel | `boolean` | `false` |
45
46
46
47
In addition, the following attributes of [Popup](./popup) are supported: `getContainer``afterShow``afterClose``onClick``stopPropagation`
47
48
@@ -96,6 +97,7 @@ Same as `Picker`.
96
97
| children | The rendering function of the selected items | `(value:Date) =>ReactNode` | - |
97
98
| renderLabel | The function to custom rendering the label shown on a column. `type` means any value in `precision`, `data` means the default number | `(type:string, data:number) =>ReactNode` | - |
98
99
| filter | Filter available time | `DatePickerFilter` | - |
100
+
| mouseWheel | Whether to allow interact with mouse wheel | `boolean` | `false` |
0 commit comments