I have the following code 

```
class Iframe extends Component {
  constructor (props) {
    super()
    this.state = {
      iFrameHeight: '0px',
    }
    this.iFrameUrl = props.url
  }

```

I want to access to access the props within the render function which looks like this: 

```
render (props) {
  return (
    <iframe
      style={{width: '100%', height: this.state.iFrameHeight, overflow: 'visible'}}
      onLoad={() => {
        const obj = ReactDOM.findDOMNode(this)
        this.setState({
          'iFrameHeight': obj.contentWindow.document.body.scrollHeight + 'px'
        })
      }}
      ref='iframe'
      src={props.url}
      width='100%'
      scrolling='no'
      frameBorder='0'
      sandbox='allow-same-origin allow-scripts'
    />
  )
}

```

I am getting the src URL for the iframe from the props. What's the correct way to access the props within the render's return method?