<div id="app">
  </app>

body {
  background: #333;
  color: white;
}
.fancy-border{
  padding: 1rem;
  border: 1px solid gray;
}
/*
Example for Children pass through
*/

class FancyBorder extends React.Component{
 render(){
    return <div className ="fancy-border">{this.props.children}
    </div>
 }
}

class WelcomeDailog extends React.Component{
  render(){
    return <FancyBorder>
      <h1 >Title</h1>
      <p>Description</p>
  </FancyBorder>
  }
}

class Application extends React.Component {
  render() {
    return (
      <div>
       <WelcomeDailog/>
      </div>
    );
  }
}

/*
 * Render the above component into the div#app
 */
React.render(<Application />, document.getElementById("app"));

View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/react/0.13.0/react.min.js