vector-month

1.2.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i vector-month

Weekly Downloads

0

Version

1.2.1

License

MIT

Last publish

Collaborators

  • tvooo