Socket
Book a DemoInstallSign in
Socket

@kaluza/react-datepicker

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaluza/react-datepicker

React Datepicker loosely based around Material UI design.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

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

Keywords

react

FAQs

Package last updated on 17 Dec 2018

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