@inaccess-fang/ui-components
Version:
The Inaccess UI Components Library for the Front-end projects
18 lines (17 loc) • 773 B
TypeScript
export interface Chip {
displayValue: string;
selected: boolean;
}
export interface FangChipGroupConfig {
propertyAccessKey?: string;
alignment?: ChipGroupAlignment;
interaction: ChipInteraction;
hasTextTruncate?: boolean;
hasWrap?: boolean;
chipBackground?: ChipBackground;
chipGroupBackground?: ChipGroupBackground;
}
export declare type ChipGroupBackground = 'bg-light-1' | 'bg-light-2' | 'bg-light-3' | 'bg-dark-1' | 'bg-dark-2' | 'bg-dark-3';
export declare type ChipBackground = 'chip' | 'chip-light' | 'chip-light-alt' | 'chip-dark' | 'chip-dark-alt';
export declare type ChipInteraction = 'close' | 'select';
export declare type ChipGroupAlignment = 'group-inline' | 'group-inline-reverse' | 'group-list' | 'group-list-reverse';