geoiq-frontend-ui-kit
Version:
This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.
20 lines • 584 B
TypeScript
export interface ToggleMultiSelectProps {
options: OptionType[];
selected: string[];
onChange: React.Dispatch<React.SetStateAction<string[]>>;
className?: string;
id?: string;
isSearchable?: boolean;
icon: React.ReactElement;
/**
* The container element for the multi-select component.
* The popover will be appended to this element.
*/
container?: Element | null | undefined;
}
export type OptionType = {
label: string;
value: string;
icon?: React.ReactElement;
};
//# sourceMappingURL=toggle-multi-select.types.d.ts.map