simple-ui-datepicker
v1.0.2
Published
Simple ui datepicker width @material-ui/pickers, styled-components, moment
Downloads
113
Readme
simple-ui-datepicker
Simple UI date picker width @material-ui/pickers, styled-components, moment.
Install
npm i simple-ui-datepicker
Usage
import { DatePick } from 'simple-ui-datepicker'
<DatePick
fullWidth={true}
variant='standard' // options 'outlined','filled','standard'
label='DOB'
className='myClass'
value={new Date()}
min={new Date()} // min date user can select
hideMaxDate={true}
max={new Date()} // max date user can select if hideMaxDate is true
changed={(item)=>}
size='medium' // options 'small','medium','large'
language='en' // options 'en','pt'
/>
Peer Dependencies
Make sure that your project has all these packages installed.
npm i @material-ui/[email protected]
npm i [email protected]
npm i @material-ui/[email protected]
npm i @material-ui/[email protected]
npm i [email protected]
npm i @date-io/[email protected]
npm i [email protected]
Author
Nimesh Deuja