vector-month
v1.2.1
Published
A React component for simple calendar layouts using SVG
Downloads
5
Readme
vector-month
A React component for simple calendar layouts using SVG
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