Package Exports
- react-big-calendar-vibo
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-big-calendar-vibo) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-big-calendar-vibo
An events calendar component built for React and made for modern browsers (read: IE10+) and uses flexbox over the classic tables-ception approach.
Inspired by Full Calendar.
Use and Setup
npm install react-big-calendar-vibo --save
Include react-big-calendar/lib/css/react-big-calendar.css for styles, and make sure your calendar's container
element has a height, or the calendar won't be visible.
Starters
Run examples locally
$ git clone git@github.com:gianchandania/react-big-calendar-vibo.git
$ cd react-big-calendar-vibo
$ npm install
$ npm run examples
Localization and Date Formatting
react-big-calendar-vibo includes two options for handling the date formatting and culture localization, depending
on your preference of DateTime libraries. You can use either the Moment.js or Globalize.js localizers.
Regardless of your choice, you must choose a localizer to use this library:
Moment.js
import BigCalendar from 'react-big-calendar-vibo'
import moment from 'moment'
const localizer = BigCalendar.momentLocalizer(moment)
const MyCalendar = props => (
<div>
<BigCalendar
localizer={localizer}
events={myEventsList}
startAccessor="start"
endAccessor="end"
/>
</div>
)Globalize.js v0.1.1
import BigCalendar from 'react-big-calendar-vibo'
import globalize from 'globalize'
const localizer = BigCalendar.globalizeLocalizer(globalize)
const MyCalendar = props => (
<div>
<BigCalendar
localizer={localizer}
events={myEventsList}
startAccessor="start"
endAccessor="end"
/>
</div>
)Join us on Reactiflux Discord
Join us on Reactiflux Discord community under the channel #react-big-calendar if you have any questions.