0.0.1 • Published 8 months ago

rescript-hugeicons v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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>
}

Demo

Please visit the following link to check out the demo. ReScript-Hugeicons Demo

Installation

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.

Author

Jean-Jacques Akakpo (gensjaak)

License

MIT

0.0.1

8 months ago