@colisweb/reason-toolkit
v8.2.7
Published
![Reason Colisweb toolkit](/media/image.jpg)
Downloads
153
Readme
Reason toolkit
- Request
- Unleash
- Identifier
- Hooks
- Decoders
- Fetcher
- Form
- Tailwind classname generator
- vendors (library bindings)
react-icons
(build with a scriptbuild:reacticons
)react-select
react-table
swr
downshift
copy-to-clipboard
Usage
Install the package :
npm i @colisweb/reason-toolkit
Add the package to the bsconfig.json
file :
{
"bs-dependencies": ["@colisweb/reason-toolkit"]
}
The bindings in the vendors are globaly accessible. Everything else is scoped into the Toolkit
namespace.
open Toolkit;
[@react.component]
let make = () => {
let dialog = Hooks.useDisclosure();
<div className="bg-white" />
};
Development
Build
npm run build
Watch
npm run watch