1.0.0 • Published 2 years ago
react-native-calendar-list-picker v1.0.0
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