import { Avatar, Identity, Name } from '@/identity'; import { COINBASE_VERIFIED_ACCOUNT_SCHEMA_ID } from '@/identity/constants'; import { useNFTContext } from '@/nft/components/NFTProvider'; import { cn, text } from '@/styles/theme'; import type { EASSchemaUid } from '@/identity/types'; type NFTMintersProps = { className?: string; schemaId?: EASSchemaUid | null; }; export function NFTMinters({ className, schemaId }: NFTMintersProps) { const { totalOwners, recentOwners } = useNFTContext(); if (!recentOwners || recentOwners.length === 0) { return null; } return (
{recentOwners.map((address) => ( ))}
Minted by
{totalOwners &&
and {totalOwners} others
}
); }