An open API service indexing awesome lists of open source software.

https://github.com/MarceloPrado/flash-calendar

The fastest React Native calendar 📆⚡
https://github.com/MarceloPrado/flash-calendar

calendar date date-range-picker list react-native

Last synced: 11 days ago
JSON representation

The fastest React Native calendar 📆⚡

Awesome Lists containing this project

README

        

# React Native Flash Calendar

[![npm](https://img.shields.io/npm/l/@marceloterreiro/flash-calendar?style=flat-square)](https://www.npmjs.com/package/@marceloterreiro/flash-calendar) [![npm](https://img.shields.io/badge/types-included-blue?style=flat-square)](https://www.npmjs.com/package/@marceloterreiro/flash-calendar) [![runs with expo](https://img.shields.io/badge/Runs%20with%20Expo-4630EB.svg?style=flat-square&logo=EXPO&labelColor=f3f3f3&logoColor=000)](https://expo.io/)

This is the monorepo for Flash Calendar, an incredibly fast and flexible library to build calendars in React Native.

## Documentation & Examples

You can find the Flash Calendar documentation [on the website](https://marceloprado.github.io/flash-calendar/).

## Installation

This project uses [Bun](https://bun.sh/) as its package manager. The first thing you'll need is to [install Bun](https://bun.sh/).

To install dependencies, run at the root:

```bash
bun install
```

To build (required for a fresh install)

```bash
bun run build
```

To develop or run the example app:

```bash
bun dev
```

To run the documentation website:

```bash
bun docs
```

## Contributing

Ensure your changes are unit-tested. To improve DX, run the tests in watch mode with `bun test --watch`. You can also run the tests for a specific file with `bun test --watch {filename}`.

### Package structure

#### /apps

- `/apps/example`: Storybook host for Flash Calendar, runs with the latest uncompiled code.
- `/apps/docs`: The documentation website for Flash Calendar.

#### /kitchen-sink

A place to test the published Flash Calendar in a real environment.

- `/kitchen-sink/expo`: Scaffolded expo project to test the flash calendar in a real environment.

#### /packages

The actual src code for Flash Calendar:

- `/packages/flash-calendar`: The flash calendar package itself.
- `/packages/eslint-config`: Shared eslint config for the project.
- `/packages/tsconfig`: Shared tsconfig for the project.

### License

Flash Calendar is [MIT licensed](./LICENSE).