spring-calendar
v0.4.3
Published
Full calendar based on React.js
Downloads
26
Maintainers
Readme
Spring Calendar
It's a React based component which provides the functionality of a full-calendar that shows daily events.
Installation
npm install spring-calendar
For Vue.js developers please check this
repository
Usage
import React from 'react';
import SpringCalendar from 'spring-calendar';
let events=[
{
title:'Event 1',
startDate:'2020-01-15 08:00',
endDate:'2020-01-15 10:00',
},
{
title:'Event 3',
startDate:'2020-01-15 09:00',
endDate:'2020-01-15 12:00',
}
]
const App =()=> <SpringCalendar locale="en" events={events} color="#002651" defaultType="year"/>;
export default App