Created
February 18, 2018 15:43
-
-
Save titouancreach/3ea2b3e5f683fcb2862412ca00bb0ff7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
open Util; | |
[@bs.module "semantic-ui-react"] external button : ReasonReact.reactClass = "Button"; | |
let make = (children) => | |
ReasonReact.wrapJsForReason( | |
~reactClass=button, | |
children | |
); | |
ReactDOMRe.renderToElementWithId(ReasonReact.element(make([||])), "app"); | |
if (hot) { | |
accept(); | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment