import { getStyleScope, useSmartStylesheet } from ':plugins/SmartStylesheet.tsx' export type MemberCardProps = { id: string icon: string name: string groups: string[] } const scope = getStyleScope(MemberCard) export function MemberCard( { id, icon, name, groups }: MemberCardProps, ) { useSmartStylesheet(import.meta, { scope }) return (

{name}

{groups.map((group, index) => {group})}
) }