DatePicker - Keep React
Table of Contents#
- Default Date Picker
- Date Range Picker
- DatePicker With Two Month
- Date Range Picker From Two Month
- Month Picker
- Year Picker
- Time Picker
- API Reference
- Reference
Default Date Picker#
The DefaultDatePicker component is a simple implementation of a date picker component. It display a single date selection interface. Users can choose a date, and the selected date is managed using state.
Date Range Picker#
A Date Range Picker is a user interface component that allows users to select a range of dates, typically represented by a start date and an end date.
DatePicker With Two Month#
The DatePicker
component has been enhanced with an additional feature that allows users to view and select dates from two consecutive months simultaneously. This feature is enabled by setting the showTwoMonth
prop to true
.
Date Range Picker From Two Month#
The DatePicker
component has been enhanced with an additional feature that allows users to view and select dates from two consecutive months simultaneously. This feature is enabled by setting the showTwoMonth
prop to true
.
Month Picker#
A Month Picker is a user interface component that allows users to select a specific month and year from a calendar-like interface.
Year Picker#
A Year Picker is a user interface component that allows users to select a specific year from a list or dropdown.
Time Picker#
A Time Picker is a user interface component that allows users to select a specific time, usually down to the hour and minute, from a set of available options.
API Reference#
Explore the available props for the date picker component
Property | Description | Type | Default |
---|---|---|---|
children | Child components and content to be placed within the date picker component. | ReactNode | ReactNode |
showTwoMonth | Show the two month picker component | boolean | false |
Reference#
To learn more about the Date Picker, please see the documentation of React Date Picker