Skip to content

Instantly share code, notes, and snippets.

@persianturtle
Created February 13, 2018 04:03
Show Gist options
  • Save persianturtle/b60cb0a40cf0a698b357bb88fd240106 to your computer and use it in GitHub Desktop.
Save persianturtle/b60cb0a40cf0a698b357bb88fd240106 to your computer and use it in GitHub Desktop.
let component = ReasonReact.statelessComponent("Page1");
let make = _children => {
...component,
render: _self =>
<div className="Page1">
<h1> (ReasonReact.stringToElement("Page1")) </h1>
</div>
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment