tm-reuseable-components
Version:
This is a reuseable components lib made for TextMercato
14 lines (13 loc) • 403 B
TypeScript
import { ReactNode } from "react";
export interface ChipProps {
clickable?: boolean;
color?: 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
disabled?: boolean;
label?: ReactNode;
onDelete?: Function;
size?: 'medium' | 'small';
skipFocusWhenDisabled?: boolean;
variant?: 'filled' | 'outlined';
role?: string;
className?: string;
}