import InputWithOptions, { ManualInputFnSignature, InputWithOptionsProps, } from '../InputWithOptions'; import { DropdownLayoutValueOption, DropdownLayoutProps, } from '../DropdownLayout'; import {PropsWithChildren} from "react"; export interface MultiSelectCheckboxProps extends InputWithOptionsProps< ManualInputFnSignature, MultiSelectOnSelectFnSignature > { selectedOptions?: DropdownLayoutProps['selectedId'][]; onDeselect?: ( id: DropdownLayoutValueOption['id'], option: DropdownLayoutValueOption, ) => void; delimiter?: string; } export default class MultiSelectCheckbox extends InputWithOptions< ManualInputFnSignature, MultiSelectOnSelectFnSignature, PropsWithChildren > {} export type MultiSelectOnSelectFnSignature = ( id: DropdownLayoutValueOption['id'], option: DropdownLayoutValueOption, ) => void;