package melange-radix-icons
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)
- reason-react-ppx
- reason-react
-
ocaml
>= "5.1.1"
-
melange
>= "2.1.0" & < "3.0.0"
-
dune
>= "3.12" & >= "3.12"
Dev Dependencies (4)
-
odoc
with-doc
-
ocamlformat
with-test
-
ocaml-lsp-server
with-test
-
opam-check-npm-deps
with-test
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page