king
2020-09-18 51a60b5cb00fdeaf9e42c29341242460bf2154e8
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