Skip to content

Commit

Permalink
docs: add demo image to README (#2237)
Browse files Browse the repository at this point in the history
Update to README

Thanks to ipiranhaa for the idea
  • Loading branch information
cutterbl committed Jul 19, 2022
1 parent 76667d5 commit f45a40b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# 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.
An events calendar component built for React and made for modern browsers (read: not IE) and uses flexbox over the classic tables-caption approach.

<p align="center">
<img src="./assets/rbc-demo.gif" alt="Big Calendar Demo Image" />
</p>

[**DEMO and Docs**](https://jquense.github.io/react-big-calendar/examples/index.html)

Expand Down Expand Up @@ -45,7 +49,7 @@ import moment from 'moment'

const localizer = momentLocalizer(moment)

const MyCalendar = props => (
const MyCalendar = (props) => (
<div>
<Calendar
localizer={localizer}
Expand All @@ -66,7 +70,7 @@ import globalize from 'globalize'

const localizer = globalizeLocalizer(globalize)

const MyCalendar = props => (
const MyCalendar = (props) => (
<div>
<Calendar
localizer={localizer}
Expand Down Expand Up @@ -101,7 +105,7 @@ const localizer = dateFnsLocalizer({
locales,
})

const MyCalendar = props => (
const MyCalendar = (props) => (
<div>
<Calendar
localizer={localizer}
Expand Down
Binary file added assets/rbc-demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f45a40b

Please sign in to comment.