import classNames from 'classnames'; import CheckIcon from '@/material-icons/400-24px/check.svg?react'; import { useLinks } from 'mastodon/../hooks/useLinks'; import { Icon } from 'mastodon/components/icon'; import type { Account } from 'mastodon/models/account'; export const AccountFields: React.FC<{ fields: Account['fields']; limit: number; }> = ({ fields, limit = -1 }) => { const handleClick = useLinks(); if (fields.size === 0) { return null; } return (
{fields.take(limit).map((pair, i) => (
{pair.get('verified_at') && ( )}
))}
); };