src/components/list.tsximport { clsx } from 'clsx'import { Icon } from '@/components/icon'export interface ListProps extends React.ComponentPropsWithoutRef<'ul'> {/** Variant of the list - controls default styling */variant?: 'default' | 'bulleted' | 'numbered' | 'unstyled'/** Custom spacing between list items */spacing?: 'tight' | 'normal' | 'loose'/** Gap override - provide full Tailwind classes like 'gap-4' or 'gap-x-8 gap-y-4' */gap?: string/** Font size override */fontSize?: string/** Text color override */color?: string | undefined/** Font family override */fontFamily?: string/** Font weight override */fontWeight?: string/** Font style override */fontStyle?: string
Showing the first 20 lines.
Get full code