react-native-calendar-list-picker
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

react-native-calendar-list-picker

React Native Calendar List Picker Components

Installation

npm install react-native-calendar-list-picker

Usage

import { CalendarList } from "react-native-calendar-list-picker";

// ...

const MyExample = () => {
  return (
    <CalendarList
      modePress="multiple"
      fullDateRange={[new Date('2022-01-01'), new Date('2022-03-31')]}
      availableDateRange={[new Date('2022-02-01'), new Date('2022-03-31')]}
      startDate={new Date('2022-02-16')}
      endDate={new Date('2022-02-20')}
      onSelectionDate={(
        startDate: Date | undefined,
        endDate: Date | undefined
      ) => {
        console.log('startDate: ', startDate, 'endDate: ', endDate);
      }}
    />
  );
};

Screenshots

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i react-native-calendar-list-picker

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    41.9 kB

    Total Files

    17

    Last publish

    Collaborators

    • ngdathd