🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

react-calendar-flexible

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-calendar-flexible

React.js calendar component with controls

latest
Source
npmnpm
Version
0.4.4
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

react-calendar

This is an extension of original repository.

What were added?

  • selectedOption (Object)
  • untilDate (Boolean)

selectedOption structure

 {
    show: 'day|week',
    day|week: 'YYYY-MM-D | YYYY-W'
 }

allows user

Example: { show: 'day', day: moment().format('YYYY-MM-DD') } { show: 'week', day: moment().format('YYYY-W') }

<Calendar selectedOption={this.state.selectedOption} showDaysOfWeek={true} forceSixRows={false}
        untilDate={true} onPickDate={this.datePicked.bind(this)}/>

React calendar component inspired by CLNDR.js.

$ npm install react-calendar-component

See the demo

http://hanse.github.io/react-calendar/

var React = require('react');
var Calendar = require('react-calendar-component').Calendar;

function onDatePicked(date) {
  alert(date);
}

React.render(
  <Calendar showDaysOfWeek={true}
            forceSixRows={false}
            onPickDate={onDatePicked} />,
  document.getElementById('calendar')
);

Build it yourself

$ npm install
$ make

License

MIT

#Contributors Vladimir Katansky, Svyatoslav Dardalan

Keywords

react

FAQs

Package last updated on 12 Sep 2015

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