1.0.10 • Published 3 years ago
nk_datepicker_core v1.0.10
React Datepicker wrapper
Wrapper around UI components to build the datepicker.
Usage
Requires the following UI components:
- Input
- Overlay with calendar
const Datepicker = (props: Types.CoreProps) =>
CorePicker({ Input, CalendarOverlay })(props);
<Datepicker
name={name}
value={date}
onChange={handleChange
disabled={disabled}
outputDateFormat={outputDateFormat}
/>
Demo: https://nataliekapitonova.github.io/nk_datepicker/examples/date