@rsuite/multi-date-picker

1.0.0 • Public • Published

Multi DatePicker

A date picker that can select multiple dates

Installation

npm install @rsuite/multi-date-picker --save

Usage

import DatePicker from '@rsuite/multi-date-picker';
import '@rsuite/multi-date-picker/lib/styles.less'

const App = () => {
  return (
    <DatePicker />
  );
};

ReactDOM.render(<App />, mountNode);

Props

MultiDatePicker extends all the props of DatePicker, with different support:

Property Type(Default) Description
value Date[] Value (Controlled)
defaultValue Date[] Default value
onChange (Date[])=>void Callback fired when value changed

License

MIT licensed

Install

npm i @rsuite/multi-date-picker

DownloadsWeekly Downloads

78

Version

1.0.0

License

MIT

Unpacked Size

14.3 kB

Total Files

10

Last publish

Collaborators

  • simonguo
  • superman66
  • hiyangguo
  • sevenoutman
  • undor
  • vingeray