colored-calendar

0.0.94 • Public • Published

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", 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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.94
    1
    • latest

Version History

Package Sidebar

Install

npm i colored-calendar

Weekly Downloads

12

Version

0.0.94

License

MIT

Unpacked Size

40.8 kB

Total Files

12

Last publish

Collaborators

  • argonavt11