Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import './Post_style.css'
- function Post(props) {
- const {title, body, created} = props.data;
- return (
- <div className="post_item">
- <h3>{title}</h3>
- <p>{body}</p>
- <div>{created}</div>
- </div>
- );
- }
- export default Post;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement