Class: PostCard

PostCard(props) → {JSX.Element}

new PostCard(props) → {JSX.Element}

This is the postcard component. These cards are used to render post details.
Parameters:
Name Type Description
props
Properties:
Name Type Description
post Post The post of which the data is to be loaded
Author:
  • amannirala13
Source:
See:
Returns:
Type
JSX.Element
Example
<div>
<PostCard post={postObject}/>
</div>