/** * WordPress dependencies */ import { Button } from '@safe-wordpress/components'; import { _x } from '@safe-wordpress/i18n'; /** * External dependencies */ import { AuthorIcon } from '@nelio-content/components'; import { useAuthorName } from '@nelio-content/data'; import type { AuthorId, Maybe } from '@nelio-content/types'; /** * Internal dependencies */ import './style.scss'; export type FollowerProps = { readonly isAuthor: boolean; readonly remove: Maybe< () => void >; readonly userId: AuthorId; }; export const Follower = ( { isAuthor, remove, userId, }: FollowerProps ): JSX.Element => { const userName = useAuthorName( userId ); return (