🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

material-date-range-picker

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material-date-range-picker

React components, that implements material design pickers for material-ui v1

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

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

Keywords

material-ui

FAQs

Package last updated on 14 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts