@holokit/core
Version:
Core styles & components
12 lines (11 loc) • 343 B
TypeScript
import React from 'react';
export declare type ChipType = 'default' | 'warning' | 'sim';
export declare type OnDeleteFunc = (text: string) => void;
interface ChipProps {
type?: ChipType;
text: string;
classes?: string;
onDelete?: OnDeleteFunc;
}
declare function Chip(props: ChipProps): React.JSX.Element;
export default Chip;