king
2020-07-01 9a16cb432ed0a597caf9ba78c9dda63ad2134207
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import React, {Component} from 'react'
import PropTypes from 'prop-types'
 
class Iframe extends Component {
  static propTypes = {
    title: PropTypes.string,
    url: PropTypes.string
  }
 
  render () {
    return (
      <iframe
        title={this.props.title}
        src={this.props.url}
      />
    )
  }
}
 
export default Iframe