$ npm install @zippytech/react-toolkit --save
$ yarn add @zippytech/react-toolkit
<DateInput />component, all you need to import is
Reactand the code + styles of the component itself:
<Calendar />component inside the
<DateInput />, you have to nest it as children of the
<DateInput />. Below you can find an example that configures the
<Calendar />to only allow selecting certain days.
maxDate), or simply random dates, that follow another more complex business requirement, in which case
isDisabledDayis the way to go.
isDisabledDayto disable selecting weekend days from the
<DateInput />is not read-only, the user can still type-in a value that is not valid as per the logic implemented in the