this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 16 lines 433 B view raw
1import type { ProfileRow } from "../../lib/registry.ts"; 2import ProfileCard from "./ProfileCard.tsx"; 3import EmptyState from "./EmptyState.tsx"; 4 5interface Props { 6 profiles: ProfileRow[]; 7} 8 9export default function ProfileGrid({ profiles }: Props) { 10 if (profiles.length === 0) return <EmptyState />; 11 return ( 12 <div class="profile-grid"> 13 {profiles.map((p) => <ProfileCard key={p.did} profile={p} />)} 14 </div> 15 ); 16}