export type CommonDropdownTypes<T> = {
  options: T[];
  optionKey: (value: T) => string | number;
  optionLabel: (value: T) => string;
  onClick: (value: T | undefined) => void;
  enableClearButton?: boolean;
  enableSearch?: boolean;
  optionElement?: ({ option }: { option: T }) => JSX.Element;
  disable?: boolean;
  placeholder?: string;
};