npm install agenda-react-native --save
Using yarn
yarn add agenda-react-native
Prop | Description | Required? | Default | Type |
---|---|---|---|---|
onDayPress |
Callback called when a day is pressed. | no | (date: Date) => void | |
onEventPress |
Callback called when a event is pressed. | no | (event: Event) => void | |
selectedDay |
Selected day | no | today | Date |
events |
Events | no | Event[] | |
monthTheme |
Month component theme | no | MonthThemeType | |
theme |
Agenda theme | no | ThemeType | |
locale |
Locale | no | LocaleType | |
viewType |
Locale | no | 'month' | AgendaViewType |
firstDayMonday |
Monday as first day of the week | no | false | boolean |
MIT