Skip to content

Instantly share code, notes, and snippets.

@philholden
Created May 6, 2017 20:57
Show Gist options
  • Save philholden/c5e0d52a62acb810472d66cdd739e6a8 to your computer and use it in GitHub Desktop.
Save philholden/c5e0d52a62acb810472d66cdd739e6a8 to your computer and use it in GitHub Desktop.
Embeds
import React from 'react';
import {render} from 'react-dom'
import ReactPlaygroundStyled from 'react-playground-styled';
import EmbedlyWrapper from 'embedly'
const Embed = () => (
<EmbedlyWrapper>
<ReactPlaygroundStyled defaultValue={'<button>Hello</button>'} />
</EmbedlyWrapper>
)
render(<App />, document.getElementById('root'));
import React from 'react';
import {render} from 'react-dom'
import Todos from 'todos';
import EmbedlyWrapper from 'embedly'
const Embed = () => (
<EmbedlyWrapper>
<Todos />
</EmbedlyWrapper>
)
render(<App />, document.getElementById('root'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment