Skip to main content

AgendaList

Agenda list component for the ExpandableCalendar component.
(code example)

info

This component extends FlatList props.

NOTE: This component should be wrapped with CalendarProvider component.

API​

theme​

Specify theme properties to override specific styles for calendar parts

Theme

dayFormat​

Day format in section title. Formatting values: http://arshaw.com/xdate/#Formatting

string

dayFormatter​

A function to custom format the section header's title

(arg0: string) => string

useMoment​

Whether to use moment.js for date string formatting

boolean

markToday​

Whether to mark today's title with the 'Today, ...' string

boolean

avoidDateUpdates​

Whether to block the date change in calendar (and calendar context provider) when agenda scrolls

boolean

scrollToNextEvent​

Whether to enable scrolling the agenda list to the next date with content when pressing a day without content

boolean

viewOffset​

Offset scroll to the section

number

sectionStyle​

The style passed to the section view

ViewStyle