@patreon/studio
Version:
Patreon Studio Design System
21 lines (20 loc) • 696 B
TypeScript
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<ChildrenProps> {
/**
* 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 {};