agenda-react-native
v1.1.2
Published
React Native Agenda
Downloads
22
Maintainers
Readme
React Native Agenda 📆
Installation
npm install agenda-react-native --save
Using yarn
yarn add agenda-react-native
Usage
API
| 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 |
License
MIT