1.0.10 • Published 3 years ago

nk_datepicker_core v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

React Datepicker wrapper

npm version Test

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