Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 months 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 (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-10-14T05:43:05.000Z (about 2 years ago)
- Last Synced: 2024-09-22T10:15:49.055Z (3 months ago)
- Topics: ad, ad2bs, bs, bs2ad, calendar, datepicker, nepali-calendar, reactjs
- Language: TypeScript
- Homepage:
- Size: 1.44 MB
- Stars: 11
- Watchers: 4
- Forks: 5
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![repo-logo](media/img/repo-beta.svg "react-patro")
![npm-version](https://img.shields.io/npm/v/react-patro) ![minified-size](https://img.shields.io/bundlephobia/min/react-patro) ![licence](https://img.shields.io/npm/l/react-patro) ![Pull Reqest](https://img.shields.io/badge/PRs-Welcome-blue)
## 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)