@kaluza/react-datepicker

1.0.2 • Public • Published

React DatePicker

Datepicker component loosely based around Material UI design.

Demo

Todo...

Usage

import Calendar from '@kaluza/react-datepicker';

const Page = (props) => (
  <div className="my-page">
    <Calendar />
  </div>
);

Props

maxDate  PropTypes.string (ISO Formatted Date)
Default: Today

 

minDate  PropTypes.string (ISO Formatted Date)
Default: 0000-01-01

 

mode     PropTypes.oneOf(['DAY', 'MULTIDAY', 'MONTH', 'YEAR'])
Default: DAY

 

multidayNumberOfSelectedDays   PropTypes.number
Default: 1

 

onCancel  PropTypes.func
Default: () => {}

 

onSelect PropTypes.func
Default: () => {}

 

selectedDate PropTypes.string (ISO Formatted Date)
Default: Today

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @kaluza/react-datepicker

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

54.3 kB

Total Files

5

Last publish

Collaborators

  • kgray-kaluza
  • vox-populi
  • freddybushboy