import { getStyleScope, useSmartStylesheet } from ':plugins/SmartStylesheet.tsx' type MachineCardProps = { img: string name: string tags: string[] id: string free: boolean } const scope = getStyleScope(MachineCard) export function MachineCard( { name, tags, img, id, free }: MachineCardProps, ) { useSmartStylesheet(import.meta, { scope }) const stateIcon = free ? : return (