import { ReactNode } from 'react'; export interface SelectWithCardOption { /** * The display label of the option */ label: string; /** * The value of the option */ value: string | number; /** * The children of the option */ children?: ReactNode; } interface SelectWithCardPropsBase { options: SelectWithCardOption[]; onSelectionChange: (selected: string[]) => void; isLoading?: boolean; defaultSelectedValues?: string[]; } interface SelectWithCardPropsDefault extends SelectWithCardPropsBase { search?: boolean; selectAll?: boolean; selectAllLabel?: string; unSelectAllLabel?: string; searchPlaceholder?: string; optionsColSpan?: number; optionsColSpanMd?: number; scrollMaxHeight?: number; } export type SelectWithCardProps = SelectWithCardPropsDefault; export {};