Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maggialejandro/agenda-react-native
📆 React Native Agenda
https://github.com/maggialejandro/agenda-react-native
react react-native
Last synced: 16 days ago
JSON representation
📆 React Native Agenda
- Host: GitHub
- URL: https://github.com/maggialejandro/agenda-react-native
- Owner: maggialejandro
- License: mit
- Created: 2022-10-18T13:09:14.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-23T13:09:48.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T09:13:39.626Z (about 1 month ago)
- Topics: react, react-native
- Language: TypeScript
- Homepage:
- Size: 3.42 MB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# React Native Agenda 📆
![BuildStatus](https://github.com/maggialejandro/agenda-react-native/actions/workflows/lint.yml/badge.svg)
[![NPM version](https://img.shields.io/npm/v/agenda-react-native.svg)](https://www.npmjs.com/package/agenda-react-native)
[![npm](https://img.shields.io/npm/dm/agenda-react-native.svg)](https://github.com/maggialejandro/agenda-react-native)
[![CodeFactor](https://www.codefactor.io/repository/github/maggialejandro/agenda-react-native/badge)](https://www.codefactor.io/repository/github/maggialejandro/agenda-react-native)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://makeapullrequest.com)## Installation
```console
npm install agenda-react-native --save
```Using yarn
```console
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