import type { CSSProperties, HTMLAttributes, ReactNode } from 'react' import './type-chip.css' interface TypeChipProps extends HTMLAttributes { name: string color?: string children?: ReactNode } /** A Type's color belongs to its definition; the chip derives theme-aware colors. */ export function TypeChip({ name, color, children, className, style, ...props }: TypeChipProps) { return #{children ?? name} }