1.13.4 • Published 1 year ago

@hammadamin/calendar-kit v1.13.4

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

📅 React Native Calendar Kit

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.

Version

Demo

Installation

Using Yarn:

$ yarn add @hammadamin/calendar-kit

Using NPM:

$ npm install --save @hammadamin/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.

Installing dependencies into a bare React Native project

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.

Installing dependencies into an Expo managed project

$ 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.

Basic Usage

import { TimelineCalendar } from '@hammadamin/calendar-kit';

// Week View
<TimelineCalendar viewMode="week" />;

// Day View
<TimelineCalendar viewMode="day" />;

// 3-days
<TimelineCalendar viewMode="threeDays" />;

// Work week
<TimelineCalendar viewMode="workWeek" />;

View mode

1.13.4

1 year ago

1.13.3

1 year ago

1.13.2

1 year ago