import type { SelectProps } from 'antd';

export type SelectOptionItem = {
  code: string;
  value: string;
};

export type CheckComboUIProps = Omit<
  SelectProps,
  'mode' | 'options' | 'value' | 'defaultValue' | 'onChange'
> & {
  data: SelectOptionItem[];
  value?: string[];
  defaultValue?: string[];
  onChange?: (codes: string[], items: SelectOptionItem[]) => void;
};
