Skip to content

Instantly share code, notes, and snippets.

@titouancreach
Created February 18, 2018 15:43
Show Gist options
  • Save titouancreach/3ea2b3e5f683fcb2862412ca00bb0ff7 to your computer and use it in GitHub Desktop.
Save titouancreach/3ea2b3e5f683fcb2862412ca00bb0ff7 to your computer and use it in GitHub Desktop.
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