react: remove iframe

This commit is contained in:
Rico Sta. Cruz 2017-09-02 04:26:51 +08:00
parent 59f0054fd0
commit a8b8296a68
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 0 additions and 35 deletions

View File

@ -473,41 +473,6 @@ MyCo.propTypes = {
}
```
Examples
--------
{: .-left-reference}
### Basic example
```jsx
import React from 'react'
import ReactDOM from 'react-dom'
```
```jsx
class Hello extends React.Component {
render () {
return <div className='message-box'>
Hello {this.props.name}
</div>
}
}
```
```jsx
const el = document.body
ReactDOM.render(<Hello name='John' />, el)
```
Use the [React.js jsfiddle](http://jsfiddle.net/reactjs/69z2wepo/) to start hacking. (or the unofficial [jsbin](http://jsbin.com/yafixat/edit?js,output)).
### Try it
<iframe src="http://jsbin.com/yafixat/edit?js,output" height="400"></iframe>
[Open in jsbin](http://jsbin.com/yafixat/edit?js,output)
{: target="_blank"}
Also see
--------
{: .-one-column}