import React from 'react'; import ImmutablePropTypes from 'react-immutable-proptypes'; import { acctFull } from 'soapbox/utils/accounts'; import StillImage from 'soapbox/components/still_image'; import VerificationBadge from 'soapbox/components/verification_badge'; import { List as ImmutableList } from 'immutable'; const ProfilePreview = ({ account }) => (
{account.get('username')} {account.get('display_name')} {account.getIn(['pleroma', 'tags'], ImmutableList()).includes('verified') && } {acctFull(account)}
); ProfilePreview.propTypes = { account: ImmutablePropTypes.map, }; export default ProfilePreview;