react-patro

AD and BS Calendar functions as hooks and component

Usage no npm install needed!

<script type="module">
  import reactPatro from 'https://cdn.skypack.dev/react-patro';
</script>

README

repo-logo

npm-version minified-size licence Pull Reqest

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

Installation

The package can be installed via npm

npm install react-patro --save

or via yarn

yarn add 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.

import "react-patro/src/styles.css";

Documentation

Documentation and demo available at here

How to start for development

run the react-patro source code. This generates dist folder

    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

    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