react-date-picker-tis
v1.2.3
Published
Date picker component for React
Downloads
31
Readme
react-date-picker-tis
Date picker component for React
Install
npm i react-date-picker-tis
or
yarn add react-date-picker-tis
Usage
import React from 'react'
import { DatePicker } from 'react-date-picker-tis'
import 'react-date-picker-tis/dist/index.css'
const App = () => {
return (
<DatePicker
className='DatePicker'
onChange={(date) => console.log(date)}
initialDate={today} //date object
min={today} //date object
max={nexMonth} //date object
darkMode={false}
/>
)
}
export default App
Date Object
{
year: PropTypes.number,
month: PropTypes.number,
day: PropTypes.number,
}
License
MIT © boof-tech