UNPKG

react-input-chips

Version:

A package with minimum dependencies and maximum customization.

22 lines (18 loc) 853 B
import * as react_jsx_runtime from 'react/jsx-runtime'; interface TInputChips { chips: string[]; inputValue: string; setChips: (val: string[]) => void; setInputValue: React.Dispatch<React.SetStateAction<string>>; keysToTriggerChipConversion?: string[]; needWhiteSpace?: boolean; validate?: () => boolean; disabled?: boolean; placeholder?: string; nextPlaceholder?: string; removeBtnSvg?: React.ReactElement<React.SVGProps<SVGSVGElement>>; chipStyles?: React.CSSProperties; containerStyles?: React.CSSProperties; } declare const InputChips: ({ chips, setChips, inputValue, setInputValue, keysToTriggerChipConversion, needWhiteSpace, validate, disabled, placeholder, nextPlaceholder, removeBtnSvg, chipStyles, containerStyles, }: TInputChips) => react_jsx_runtime.JSX.Element; export { InputChips };