A work in progress Bucklescript and ReasonReact set of bindings for Semantic UI React.
You can find a example usage of theses bindings in the ElpIDE project : source || demo
This is an early work in progress that I build to fulfill my need. But I hope it is a clean enough basis for anyone to participate (there are loads of components with hundreds of properties in Semantic UI React).
The method I used to create these bindings is well documented in this blog post by Khoa Nguyen.
To use these bindings in an existing ReasonReact project simply add the repository to your dependencies :
yarn add "https://github.com/voodoos/bs-semantic-ui-react"
And ask bsb
to use it by adding bs-semantic-ui-react
to bs-dependencies
in your bsconfig.json
.
You will also need to load semantic-ui's css, here is one way to do it :
[%bs.raw {|require('semantic-ui-css/semantic.min.css')|}];
let _ = [%bs.raw {|require('semantic-ui-css/semantic.min.css')|}]
All contributions are welcomed.
MIT (see LICENSE file for more details)