smart-react-range-calender
v1.1.2
Published
smart-react-range-calender is a lightweight and highly customizable React component library that provides a simple yet powerful mobile-responsive date range selection feature for your web applications. Built with pure CSS and React, it requires no additio
Downloads
8
Maintainers
Readme
smart-react-range-calender
smart-react-range-calender is a lightweight and highly customizable React component library that provides a simple yet powerful mobile-responsive date range selection feature for your web applications. Built with pure CSS and React, it requires no additional packages.
Demo
...
Features
- React-Based Date Range Picker: Seamlessly integrates into your React applications.
- Compatible with Tailwind CSS: Easily style your components using Tailwind CSS.
- Flexible Positioning: Position the date picker using props for maximum customization.
- Easy Date Range Retrieval: Effortlessly get start and end dates from the range picker.
Installation
You can install this package via npm:
npm i smart-react-range-calender
## Usage
import React from 'react';
import RangeCalender from 'smart-react-range-calender/dist/assets/index.css';
type Props = {}
const Page = (props: Props) => {
const handleLog = (start: string | null, end: string | null) => {
console.log(start, end);
}
return (
<div className='flex justify-center'>
<div>
<RangeCalender
position='bottom-center'
handleApply={handleLog}
/>
</div>
</div>
);
}
export default Page;
##someFunction()
-React Based Date range picker
-Competible with tailwind css
-Flexible Positioning using props
-More is comming...
Any contributions you make are greatly appreciated. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
This project is licensed under the MIT License - see the LICENSE.md file for details.
Roadmap
More Features Coming Soon: Stay tuned for more updates and features.
Contribution
Any contributions you make are greatly appreciated. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
This project is licensed under the MIT License - see the LICENSE.md file for details.
## Support
For support, contact [email protected].# smart-react-range-calender
This markdown can be used directly in your `README.md` file.