5.0.0 • Published 12 months ago
@spark-web/date-picker v5.0.0
title: DatePicker storybookPath: forms-date-picker
isExperimentalPackage: true
The DatePicker component allows users to either manually enter a date in
dd/MM/yyyy format or use the calendar button to render a month view that users
can pick from. Clicking on a date will fill in the input for that date in the
correct format.
Example
const [value, setValue] = React.useState();
return (
<Field label="Select date">
<DatePicker value={value} onChange={setValue} />
</Field>
);Props
The component passes props into its underlying TextInput component and are not listed here.
5.0.0
1 year ago
5.0.0-rc.24
1 year ago
5.0.0-rc.25
1 year ago
5.0.0-rc.26
1 year ago
5.0.0-rc.27
1 year ago
5.0.0-rc.28
1 year ago
5.0.0-rc.29
1 year ago
1.0.0-rc.20
1 year ago
1.0.0-rc.21
1 year ago
1.0.0-rc.9
1 year ago
1.0.0-rc.7
1 year ago
1.0.0-rc.8
1 year ago
1.0.0-rc.5
1 year ago
5.0.0-rc.31
1 year ago
1.0.0-rc.6
1 year ago
1.0.0-rc.13
1 year ago
1.0.0-rc.12
1 year ago
1.0.0-rc.11
1 year ago
1.0.0-rc.10
1 year ago
1.0.0-rc.17
1 year ago
1.0.0-rc.3
1 year ago
1.0.0-rc.16
1 year ago
1.0.0-rc.4
1 year ago
1.0.0-rc.15
1 year ago
1.0.0-rc.1
1 year ago
1.0.0-rc.14
1 year ago
1.0.0-rc.2
1 year ago
5.0.1-rc.0
12 months ago
1.0.0-rc.0
1 year ago
1.0.0-rc.19
1 year ago
1.0.0-rc.18
1 year ago
0.2.2
2 years ago
0.2.0
2 years ago
0.1.0
3 years ago