3.0.0-beta.3 • Published 5 months ago
@merchise/rescript-tabler-icons-react v3.0.0-beta.3
ReScript binding to @tabler/icons-react
Overview
With this binding, heroicons can be used as ReScript-React Components.
open TablerIcons
@react.component
let make = () => {
<div>
<Icon24Hours />
</div>
}
Installation
yarn add @merchise/rescript-tabler-icons-react
or npm install @merchise/rescript-tabler-icons-react
In bsconfig.json
:
"bs-dependencies": ["@merchise/rescript-tabler-icons-react"]
The binding has the following dependencies, and they have to be installed.
Development
Update the dependencies, if needed, and install:
yarn install
.Update the script
scripts/builder.js
to adjust to new versions, etc.Generate the modules with
npm run generate
Run the test server
npm run run
and go to http://localhost:8000 to watch the live examples.
License
MIT
3.0.0-beta.3
5 months ago
3.0.0-beta.2
5 months ago
3.0.0-alpha.1
10 months ago
3.0.0-alpha.3
10 months ago
3.0.0-alpha.2
10 months ago
3.0.0-alpha.4
10 months ago
3.0.0-beta.1
10 months ago
2.17.0
1 year ago