UNPKG

react-trip-date

Version:

date-picker and range-picker for React applications

51 lines (29 loc) 1.48 kB
# React-Trip-Date · [![npm](https://img.shields.io/npm/v/react-trip-date.svg)](https://www.npmjs.com/package/react-trip-date) ![downloads](https://img.shields.io/npm/dt/react-trip-date.svg) ![Gzip](https://deno.bundlejs.com/?q=react-trip-date&badge=) ![Demo for React Trip Date](demo.gif) A fully customizable Date/Range picker for your React applications. - Theme (Compatible with your Material-UI theme ), Multiple Month, Auto Responsive - Support Jalali & Gregorian - Using `Day.js` (2KB immutable date and NO more need `moment.js`) ## Demo [Online demo](https://killthejs.com/react-trip-date/) is also available! you can run demo on your local with: - `git clone https://github.com/samsam-ahmadi/react-trip-date.git` - `cd react-trip-date` - `yarn && yarn storybook` - Visit http://localhost:9009/ ## Getting started ### Compatibility Your project needs to use React 16 or later. If you use older version of React. ### Installation `npm install react-trip-date` `yarn add react-trip-date` ## User guide ### APIs For [Date Picker](https://killthejs.com/react-trip-date/?path=/story/datepicker-api--page) and [Range Picker](https://killthejs.com/react-trip-date/?path=/story/rangepicker-api--page). #### special thanks to: - [@amiiiirhassan](https://github.com/amiiiirhassan) - [@mpourismaiel](https://github.com/mpourismaiel) - [@salehbud](https://dribbble.com/salehbud) ## Contributors Feel free to contribute. ## License The GNU GPLv3 License.