React-big-calendar: Month View doesn't render

Created on 16 Apr 2018  路  2Comments  路  Source: jquense/react-big-calendar

My configuration seem to only render the 'agenda' view, but not 'month'. What did I miss?

<BigCalendar events={actionItems} titleAccessor="name" step={30} defaultDate={new Date()} startAccessor="startDate" endAccessor="endDate" resources={actionItems.contributors} resourceIdAccessor="id" resourceTitleAccessor="name" />

Most helpful comment

@jquense maybe even a better idea. get the height to have a default value? (window.height) or Have the component throw a very violent error if its not provided.

All 2 comments

you need to provide a height to the calendar. In general please search issues, this has been addressed like 100 times

@jquense maybe even a better idea. get the height to have a default value? (window.height) or Have the component throw a very violent error if its not provided.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jgautsch picture jgautsch  路  3Comments

Beyazatli picture Beyazatli  路  3Comments

martinnov92 picture martinnov92  路  3Comments

Hector26 picture Hector26  路  3Comments

gsavvid picture gsavvid  路  3Comments