react createelemetn code example
Example: react createelement
class Greeting extends React.Component {
render() {
return <h1>Hello, {this.props.name}</h1>;
}
}
class Greeting extends React.Component {
render() {
return <h1>Hello, {this.props.name}</h1>;
}
}