@gp-technical/material-date-range
TypeScript icon, indicating that this package has built-in type declarations

0.1.5 • Public • Published

Material Data Range Picker

Accessible date range picker for material-ui

Image showing the date picker.

Installation

The date picker is based on multiple awesome projects and requires following peer dependencies to be installed:

  • material-ui
  • date-fns (^1.29.0)
  • downshift
  • kalendaryo
  • styled-components

Available as npm package.

npm i material-date-range-picker
<DateRangePicker
    fromDate={this.state.fromDate}  //from date
    toDate={this.state.toDate}  //to Date
    onChange={this._handleDateRangeChange}
    closeDialogOnSelection    //close date dialog after selecting both from and to date
/>

Acknowledgments

https://material.angular.io/components/datepicker/overview

https://github.com/geeofree/kalendaryo

https://github.com/paypal/downshift

https://github.com/dmtrKovalenko/material-ui-pickers

LICENSE

The project is licensed under the terms of MIT license

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.5
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.5
    1
  • 0.1.3
    0
  • 0.1.2
    0
  • 0.1.1
    0

Package Sidebar

Install

npm i @gp-technical/material-date-range

Weekly Downloads

0

Version

0.1.5

License

MIT

Unpacked Size

1.47 MB

Total Files

16

Last publish

Collaborators

  • gp-technical