Professional Documents
Culture Documents
constructor(props) {
Properties
super(props)
<Video fullscreen={true} /> this.state = {}
render () { }
this.props.fullscreen this.setState({ username:
··· 'rstacruz' })
} render () {
Use this.props to access properties this.state.username
passed to the component. ···
See: Properties }
See: States