@colisweb/rescript-toolkit
v5.26.2
Published
![ReScript Colisweb toolkit](/media/image.jpg)
Downloads
3,230
Readme
ReScript 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
react-intl
rescript version of https://github.com/reasonml-community/bs-react-intl
Usage
Install the package :
npm i @colisweb/rescript-toolkit
Add the package to the bsconfig.json
file :
{
"bs-dependencies": ["@colisweb/rescript-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