reactcalendar
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "reactcalendar", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Calendar Library built with React", | ||
@@ -5,0 +5,0 @@ "main": "./lib", |
@@ -8,13 +8,13 @@ # React Calendar | ||
``` | ||
var Calendar = require('reactcalendar'); | ||
var React = require('react'); | ||
var React = require("react"), | ||
Calendar = require("reactcalendar"); | ||
var events = [ {start: 30, end: 150, title: 'Breakfast with Sarah', location: 'Test123'}, | ||
{start: 540, end: 600, title: 'Meeting with John', location: 'Sample Text'}, | ||
{start: 560, end: 620, title: 'React Meetup', location: 'Placeholder text'}, | ||
{start: 610, end: 670, title: 'Assignment Due', location: 'Something ABC'} ]; | ||
var events = [ {start: 30, end: 150, title: "Breakfast with Sarah", location: "Test123"}, | ||
{start: 540, end: 600, title: "Meeting with John", location: "Sample Text"}, | ||
{start: 560, end: 620, title: "React Meetup", location: "Placeholder text"}, | ||
{start: 610, end: 670, title: "Assignment Due", location: "Something ABC"} ]; | ||
React.render( | ||
<Calendar events={events}/>, | ||
document.getElementById('day-wrapper') | ||
document.getElementById("day-wrapper") | ||
); | ||
@@ -21,0 +21,0 @@ ``` |
Sorry, the diff of this file is not supported yet
18771
8
518