ReScript binding to Hugeicons
Use Hugeicons (supported icons list) as ReScript-React Components, thanks to these bindings.
@jsx.component
let make = () => {
<div>
<Hugeicons.Search01Icon size=24 />
<Hugeicons.ChampionIcon size=24 color="#FFF" />
</div>
}
Please visit the following link to check out the demo. ReScript-Hugeicons Demo
yarn add rescript-hugeicons
or
npm install rescript-hugeicons
or
bun add rescript-hugeicons
And in rescript.json, add "rescript-hugeicons"
to bs-dependencies
"bs-dependencies": ["rescript-hugeicons"]
The binding has the following dependencies, and they have to be installed.
Jean-Jacques Akakpo (gensjaak)
- LinkedIn: Jean-Jacques Akakpo
- Twitter: @gensjaak
MIT