React Native Calendar component, fully implemented using @shopify/flash-list, react-native-gesture-handler and react-native-reanimated. Support pinch to zoom, drag and drop to create/update event.
RPReplay_Final1667537767.MP4
Using Yarn:
$ yarn add rn-calendar-kit
Using NPM:
$ npm install --save rn-calendar-kit
The libraries we will install now are @shopify/flash-list, react-native-gesture-handler and react-native-reanimated. If you already have these libraries installed and at the latest version, you are done here! Otherwise, read on.
Using Yarn:
$ yarn add @shopify/flash-list react-native-gesture-handler react-native-reanimated
Using NPM:
$ npm install --save @shopify/flash-list react-native-gesture-handler react-native-reanimated
Follow installation instructions for React Native Reanimated and React Native Gesture Handler.
$ npx expo install @shopify/flash-list react-native-gesture-handler react-native-reanimated
Follow installation instructions for React Native Reanimated and React Native Gesture Handler.
- Pinch to zoom
- Drag and drop to create a new event
- Drag and drop to edit the event
- Set unavailable hours and unavailable days
import { TimelineCalendar } from 'rn-calendar-kit';
// Week View
<TimelineCalendar viewMode="week" />;
// Day View
<TimelineCalendar viewMode="day" />;
// 3-days
<TimelineCalendar viewMode="threeDays" />;
// Work week
<TimelineCalendar viewMode="workWeek" />;