0.0.94 • Published 6 years ago

colored-calendar v0.0.94

Weekly downloads
29
License
MIT
Repository
github
Last release
6 years ago

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

PropDefaultDescription
formatYY.MM.DDformat of date which you used.
colors[]Colors list [{color: "ccc", month: "01", day: "01"}]
limit0limited in choose days
firstDayOfWeek1
soloChoosefalsesingleton pick of date
switchDays() => {}callback after switch range of days
switchMonth() => {}callback after switch month
0.0.94

6 years ago

0.0.93

6 years ago

0.0.92

6 years ago

0.0.91

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago