react-event-calendar
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -30,21 +30,19 @@ var gulp = require('gulp'); | ||
example: false | ||
example: { | ||
src: 'example/src', | ||
dist: 'example/dist', | ||
files: [ | ||
'index.html', | ||
'.gitignore', | ||
], | ||
scripts: [ | ||
'example.js', | ||
], | ||
less: [ | ||
'example.less', | ||
], | ||
}, | ||
// example: { | ||
// src: 'example/src', | ||
// dist: 'example/dist', | ||
// files: [ | ||
// 'index.html', | ||
// '.gitignore', | ||
// ], | ||
// scripts: [ | ||
// 'example.js', | ||
// ], | ||
// less: [ | ||
// 'example.less', | ||
// ], | ||
// }, | ||
}; | ||
initGulpTasks(gulp, taskConfig); |
{ | ||
"name": "react-event-calendar", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "react-event-calendar", | ||
@@ -5,0 +5,0 @@ "main": "lib/ReactEventCalendar.js", |
# react-event-calendar | ||
__COMPONENT DESCRIPTION GOES HERE__ | ||
Coming Soon... a much better description than this! | ||
@@ -33,8 +33,21 @@ | ||
__EXPLAIN USAGE HERE__ | ||
Use this component to display a month view of a calendar with supplied event duration indicators. | ||
``` | ||
var ReactEventCalendar = require('react-event-calendar'); | ||
const ReactEventCalendar = require('react-event-calendar'); | ||
<ReactEventCalendar>Example</ReactEventCalendar> | ||
const events = [ | ||
{ | ||
start: '2015-07-20', | ||
end: '2015-07-02', | ||
title: 'test event', | ||
description: 'This is a test description of an event', | ||
}, | ||
]; | ||
<ReactEventCalendar | ||
events={events} | ||
month={7} | ||
year={2015} | ||
events={events} /> | ||
``` | ||
@@ -44,7 +57,9 @@ | ||
* __DOCUMENT PROPERTIES HERE__ | ||
* ```events```:```Array``` Array of event objects to be represented on the calendar | ||
* ```month```: ```Integer``` Selected Month to display | ||
* ```year```: ```Integer``` Selected Year to display | ||
### Notes | ||
__ADDITIONAL USAGE NOTES__ | ||
Requires Array.prototype.find and Arra.prototype.some. Please include ES6 Array polyfill for unsupported browsers. | ||
@@ -51,0 +66,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
49060
834
77