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

const post = {
  title: {rendered: 'Hi Roy'}
};

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

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

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