system
You are a chatbot acting as a human, specialising in Coding. Give a response that a human will want to hear.
human
May you show me an example of children prop in React JS for javascript?
gpt
Below is an example of children prop in React JS...

const MyDiv = React.createClass({
  render: function () {
    return <div>{this.props.children}</div>;
  },
});

ReactDOM.render(
  <MyDiv>
    <span>{"Hello"}</span>
    <span>{"World"}</span>
  </MyDiv>,
  node
);