https://github.com/raralabs/react-patro
AD and BS Calendar functions as hooks and component.
https://github.com/raralabs/react-patro
ad ad2bs bs bs2ad calendar datepicker nepali-calendar reactjs
Last synced: about 1 month ago
JSON representation
AD and BS Calendar functions as hooks and component.
- Host: GitHub
- URL: https://github.com/raralabs/react-patro
- Owner: raralabs
- License: mit
- Created: 2020-08-06T06:28:58.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-14T05:43:05.000Z (over 2 years ago)
- Last Synced: 2025-03-18T13:19:09.210Z (2 months ago)
- Topics: ad, ad2bs, bs, bs2ad, calendar, datepicker, nepali-calendar, reactjs
- Language: TypeScript
- Homepage:
- Size: 1.44 MB
- Stars: 12
- Watchers: 3
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

   
## The project is still under active development. So, don't use it on production. `PRs are welcome`.
---
AD and BS Calendar functions as hooks and component
# [Demo](https://react-patro.netlify.app/)
# Installation
The package can be installed via [npm](https://github.com/npm/cli)
```cli
npm install @raralsbs/react-patro --save
```or via [yarn](https://github.com/yarnpkg/yarn)
```cli
yarn add @raralsbs/react-patro
```## css
You need to import `css` separately in the project. This is provided separately, so you can override the css as per your wish. Css customization is stil under progress.
```jsx
import "react-patro/src/styles.css";
```## Documentation
Documentation and demo available at [here](https://react-patro.netlify.app/)
## How to start for development
run the react-patro source code. This generates dist folder
```javascript
npm run dev```
then go to example folder which is basically create-react-app template where react-patro is installed from the local react-patro source code. Here you can play around with the code
```javascript
cd example && npm i
npm start
```## How to remove Ugly error message ( for development)
Comment the terser `rollup.config.js` from line 33 & 8 . and rebuild the code.The should remove the code uglifying process.
## License
React Patro is [MIT Licensed](LICENSE)