<div id="root"></div>
const Post = (props)  => {
  return (
      <div>
        <h2>{props.post.title.rendered}</h2>
      </div>
    )
}

ReactDOM.render(
  <Post post={{title: {rendered: 'Hi Roy'}}} />,
  document.getElementById('root')
);
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. //unpkg.com/react/umd/react.development.js
  2. //unpkg.com/react-dom/umd/react-dom.development.js