react-calendar-date-picker

1.0.4 • Public • Published

Date Picker aka Calendar Widget

A Simple React calendar widget or date picker

Build Status License: MIT codecov

Live Demo

Demo

Props

  1. value - Required instance of Date e.g. Date() value
  2. onChange - Required change handler for value; accepts one argument - instance of Date
  3. isOpened - Optional if true calendar widget will be opened by default
  4. zIndex - Optional default = 1
  5. onOpen - Optional Triggers when calendar widget opens
  6. onClose - Optional Triggers when calendar widget closes

Usage

<CalendarInput
    value={value}
    onChange={this.handleChange}
    zIndex={2}
    onOpen={this.handleOpen}
    onClose={this.handleOpen}
    isOpened
/>

Supports

  • IE
  • Edge
  • Firefox
  • Chrome
  • Opera
  • Safari - Not tested

Package Sidebar

Install

npm i react-calendar-date-picker

Weekly Downloads

4

Version

1.0.4

License

MIT

Unpacked Size

543 kB

Total Files

49

Last publish

Collaborators

  • godmar