Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ovotech/react-datepicker

React Datepicker loosely based around Material UI design.
https://github.com/ovotech/react-datepicker

Last synced: 21 days ago
JSON representation

React Datepicker loosely based around Material UI design.

Awesome Lists containing this project

README

        

# React DatePicker

Datepicker component loosely based around Material UI design.

Demo
----

Todo...

Usage
-----

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

const Page = (props) => (




);
```

Props
-----

```js
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

```