Astrocoders / bs-react-feather

Reason bindings for react-feather

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reason bindings for React Feather

Contributions are welcome!

Installation

yarn add react-feather && yarn add bs-react-feather

Then add bs-react-feather to bs-dev-dependencies in your bsconfig.json:

{
  ...
  "bs-dev-dependencies": ["bs-react-feather"]
}

Usage

let component = ReasonReact.statelessComponent("Component");

let make = (_children) => {
  ...component,
  render: (_self) => <FeatherIcons.Home>
};

These bindings are based on bs-material-ui bindings, from InsidersByte

About

Reason bindings for react-feather

License:MIT License


Languages

Language:OCaml 99.2%Language:JavaScript 0.8%