react native props in const components code example
Example: react class component
class Welcome extends React.Component {
render() {
return Bonjour, {this.props.name}
;
}
}
class Welcome extends React.Component {
render() {
return Bonjour, {this.props.name}
;
}
}