Socket
Book a DemoInstallSign in
Socket

deku-calendar

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deku-calendar

Date picker component for Deku

latest
Source
npmnpm
Version
1.0.3
Version published
Maintainers
2
Created
Source

deku-calendar

Date picker component for Deku

Install

$ npm install --save deku-calendar

Usage

import Calendar from 'deku-calendar';

function onSelect(date) {
	console.log(date);
	//=> Fri Dec 25 2015 00:00:00 GMT+0100 (W. Europe Standard Time)
}

export function render() {
	return (
		<Calendar defaultDate={new Date()} setDefaultDate firstDay={1} minDate={new Date()} onSelect={onSelect}/>
	);
}

Documentation

Arguments and documentation for the Pikaday date picker can be found here.

License

MIT © gillstrom

Keywords

calendar

FAQs

Package last updated on 13 Feb 2016

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