digitinary-ui
Version:
Digitinary UI Library
28 lines (27 loc) • 832 B
TypeScript
import './style.scss';
interface Option {
value: string;
label: string;
[key: string]: string;
}
interface Group {
groupName?: string;
list: Option[];
}
interface MultiSelectGroupProps {
label?: string;
required?: boolean;
placeholder?: string;
options: Group[];
value: Option[];
setValue: (value: Option | Option[] | null) => void;
isMultiple?: boolean;
disabled?: boolean;
className?: string;
helperText?: string;
withSearch?: boolean;
itemsLabel?: string;
size?: string;
}
export declare const MultiSelectWithChips: ({ label, placeholder, options, value, setValue, isMultiple, disabled, className, helperText, withSearch, itemsLabel, size, required, }: MultiSelectGroupProps) => import("react/jsx-runtime").JSX.Element;
export default MultiSelectWithChips;