A date selector for any react app.
- Select by days, months or even years
- No other packages needed
Date-Selector-React is under constant development. Check for latest updates.
Your project needs to use React 18.2 or later.
The package can be install via npm npm i date-selector-react
The most basic use of the DatePicker can be described with: < DatePicker clickedDate={clickedDate} setIsClicked={setIsClicked} />
Prop name | Desciption | default value |
---|---|---|
locale | 'Allow the user to change timezone available for en-US, fr-FR, es-ES, de-DE' |
'en-us' |
color | 'Allow the user to change color on background and texts' |
'red' |
todayBackground | 'Allow the user to change color on today's date background. 5 colors possible red, blue, orange, gray, green' |
'red' |