# Post Likes `` is a connected React component for rendering a list of users who liked a given post. If the user has a primary site set on WP.com, the user's avatar (and display name, if shown) will link to that site in the Calypso Reader. ## Usage Render the component passing a `siteId` and a `postId`. ```jsx function MyAwesomeComponent() { return ; } ``` ## Props ### `siteId`
TypeNumber
RequiredYes
The site ID for which the post likes should be displayed. ### `postId`
TypeNumber
RequiredYes
The post ID for which the post likes should be displayed. ### `showDisplayNames`
TypeBoolean
RequiredNo
Whether or not to show display names for users who liked the post (and show one user per line). Defaults to `false`. ## Popover There is also a version of this component that displays using a `Popover`. The show/hide logic for this popover must be managed externally: if the popover is rendered with a valid `context` prop, it will be shown. ```js import PostLikesPopover from 'calypso/blocks/post-likes/popover'; export default function SomeComponent() { return ( ); } ``` See [`docs/example.jsx`](docs/example.jsx) for a full-featured example.