package melange-radix-icons

  1. Overview
  2. Docs
Melange bindings for radix-icons

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.0.tar.gz
md5=ab0983aae89236e281e033ae4e236adb
sha512=f88bc45b3907f104ad2d106d26e0ce360312044a6eaa413a72b41c48d6919b60d06a6ec6f592c923ca014d98833345c7a2e3d972ac355647ee95e1b7ab214a3e

Description

Published: 30 Jan 2024

README

melange-radix-icons

Install

Install opam package manager.

Currently, this package has not been published on opam-repository. see this link for adding deps from a git repository

Then:

npm install @radix-ui/react-icons

Usage

Add melange-radix-icons to the libraries in your dune file:

; ...
(libraries melange-radix-icons)
; ...

Use it in your component:

[@react.component]
let make = () => {
  <RadixIcons.Sun
    className="h-[1.2rem] w-[1.2rem] rotate-0 scale-100 transition-all dark:-rotate-90 dark:scale-0"
  />
}

Dependencies (5)

  1. reason-react-ppx
  2. reason-react
  3. ocaml >= "5.1.1"
  4. melange >= "2.1.0" & < "3.0.0"
  5. dune >= "3.12" & >= "3.12"

Dev Dependencies (4)

  1. odoc with-doc
  2. ocamlformat with-test
  3. ocaml-lsp-server with-test
  4. opam-check-npm-deps with-test

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.