Skip to content

This is single and double calendar for react, with possibility to get painting in list of days ⏱

Notifications You must be signed in to change notification settings

arg0navt/colored-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colored-calendar

Install

npm install colored-calendar
yarn add colored-calendar

Used

import React, { Component } from 'react';
import { SingleCalendar, ColoredCalendar } from "colored-calendar";

class App extends Component {
  render() {
    return (
      <div className="App">
        <ColoredCalendar />
        <SingleCalendar />
      </div>
    );
  }
}

export default App;

Props

Prop Default Description
format YY.MM.DD format of date which you used.
colors [] Colors list [{color: "ccc", year: "18", month: "01", day: "01"}]
limit 0 limited in choose days
firstDayOfWeek 1
soloChoose false singleton pick of date
switchDays () => {} callback after switch range of days
switchMonth () => {} callback after switch month

About

This is single and double calendar for react, with possibility to get painting in list of days ⏱

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published