import { Ref } from 'react'; export interface InputChipProps { value?: string[]; disabled?: boolean; fullWidth?: boolean; placeholder?: string; error?: string; onChange?(value: string[]): void; className?: string; label?: JSX.Element; validate?(newValue: string[]): Promise; } export interface IInputChip extends Omit { ref?: Ref | null; chips: string[]; onBlur: React.ChangeEventHandler; onDelete(idx: number): void; onKeyPress: React.KeyboardEventHandler; }