import htm from "https://unpkg.com/htm?module"; const html = htm.bind(h); // Preview component for a Page const Page = createClass({ render() { const entry = this.props.entry; return html`

${entry.getIn(["data", "title"], null)}

${this.props.widgetFor("body")}
`; } }); export default Page;