legion-vue-core
Version:
21 lines (19 loc) • 413 B
TypeScript
import { SIZE, COLOR } from '../../utilities/constant';
export interface ChipProps {
/**
* set the component to be tag span or button
*/
as?: 'span' | 'button';
/**
* set color of the component
*/
color?: COLOR;
/**
* set size of the component
*/
size?: SIZE;
/**
* set variant of the component
*/
variant?: 'outline' | 'solid' | 'soft';
}