JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17
  • Score
    100M100P100Q51207F
  • License MIT

ReScript binding to @tabler/icons-react

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@merchise/rescript-tabler-icons-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    ReScript binding to @tabler/icons-react

    Live demo

    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

    1. Update the dependencies, if needed, and install: yarn install.

    2. Update the script scripts/builder.js to adjust to new versions, etc.

    3. Generate the modules with npm run generate

    4. Run the test server npm run run and go to http://localhost:8000 to watch the live examples.

    License

    MIT