Skip to content

Instantly share code, notes, and snippets.

@pomber
Created April 26, 2017 20:16
Show Gist options
  • Save pomber/1952cc24b8dd70c3e3f8a06a4000f72f to your computer and use it in GitHub Desktop.
Save pomber/1952cc24b8dd70c3e3f8a06a4000f72f to your computer and use it in GitHub Desktop.
const textElement = {
type: "span",
props: {
children: [
{
type: "TEXT ELEMENT",
props: { nodeValue: "Foo" }
}
]
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment