- 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
-
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" />
};
npm run build
npm run watch