An events gcal/outlook like calendar component built for React Sample in 2020

An events gcal/outlook like calendar component built for React Sample in 2020


tutorials -

react-big-calendar

An events calendar component built for React and made for modern browsers (read: IE10+) and uses flexbox over the classic tables-ception approach.

gcal/outlook like calendar component.

Live Demo

http://intljusticemission.github.io/react-big-calendar/examples/index.html

Use and Setup

npm install react-big-calendar --save

Include react-big-calendar/lib/css/react-big-calendar.css for styles.

Run examples locally

Localization and Date Formatting

react-big-calendar 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';
import moment from 'moment';

BigCalendar.setLocalizer(
  BigCalendar.momentLocalizer(moment)
);

Globalize.js v0.1.1

import BigCalendar from 'react-big-calendar';
import globalize from 'globalize';

BigCalendar.setLocalizer(
  BigCalendar.globalizeLocalizer(globalize)
);

GitHub

Trending On Tutorial Stuff

Our Sponsors

Top Applications in Tutorial Stuff

Top Experts In Tutorial Stuff