forked from
joebasser.com/atmosphere-account
this repo has no description
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}