<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')
);
This Pen doesn't use any external CSS resources.