calendar-with-todo-list
TypeScript icon, indicating that this package has built-in type declarations

1.4.0 • Public • Published

Date Picker

Watch on Storybook

Instalation

npm i calendar-with-todo-list

Components

<Calendar />

Props

type?: 0 | 1 | 2 (0 - week, 1 - month (default), 2 - year)
color?: string
min?: Date
max?: Date
firstDayOfWeek?: 0 | 1 (0 - sunday, 1 - monday (default))
todoList?: boolean
weekends?: boolean
daysOff?: boolean
  • type defines view and size of your calendar.
  • color is primary color of calendar. It should be valid css color format, for example hex or rgb.
  • min is javascript Date object
  • max is javascript Date object
  • firstDayOfWeek defines the day a week starts with
  • todoList defines if todo list is alavible
  • weekends defines if weekedns will be highlight with primary color
  • daysOff defines if daysOff (defined by this library) will be highlight with primary color

Readme

Keywords

Package Sidebar

Install

npm i calendar-with-todo-list

Weekly Downloads

1

Version

1.4.0

License

MIT

Unpacked Size

152 kB

Total Files

169

Last publish

Collaborators

  • vavaborodina