Created
May 6, 2017 20:57
-
-
Save philholden/c5e0d52a62acb810472d66cdd739e6a8 to your computer and use it in GitHub Desktop.
Embeds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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