UNPKG

@holokit/core

Version:
12 lines (11 loc) 343 B
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;