import type { IconComponent } from '~/components/Icon/types'; import type { BaseProps, ChildrenProps, StylableProps } from '~/types/component'; type Variant = 'secondary' | 'primary' | 'tertiary' | 'insetBlack' | 'insetWhite' | 'warning' | 'critical' | 'live' | 'liveSubtle' | 'success' | 'rich'; export interface ChipProps extends BaseProps, StylableProps, Required { /** * The variant of the chip * @default 'secondary' **/ variant?: Variant; /** * The size of the chip * @default 'regular' **/ size?: 'default' | 'sm'; /** * The icon to to display alongside text in a button **/ icon?: IconComponent; } export {};