date-selector-react

1.2.6 • Public • Published

date-selector-react-npm-package!

(https://im.ge/i/9jQ3tr)

A date selector for any react app.

  • Select by days, months or even years
  • No other packages needed

Before you continue

Date-Selector-React is under constant development. Check for latest updates.

Getting started

Compatibility

Your project needs to use React 18.2 or later.

How to install

The package can be install via npm npm i date-selector-react

Configuration

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'

Readme

Keywords

Package Sidebar

Install

npm i date-selector-react

Weekly Downloads

0

Version

1.2.6

License

ISC

Unpacked Size

21.2 kB

Total Files

22

Last publish

Collaborators

  • mbaye1979