1.2.1 • Published 6 years ago

vector-month v1.2.1

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

vector-month

A React component for simple calendar layouts using SVG

Build Status

Preview

(Screenshot)

(Demo)

Getting started

npm install --save vector-month
import React from 'react';
import Month from 'vector-month'

const App = () => (
  <Month month={new Date()} />
);

Props

  • month instanceOf(Date) - the month to display
  • marked func - takes date as an argument and returns whether a day should be highlighted or not
  • dayColor string
  • dayTodayColor string
  • dayMarkedColor string

License

MIT License

1.2.1

6 years ago

1.2.0

6 years ago

1.1.0

7 years ago

1.0.0

7 years ago