import { JSX } from "react";

export type SelectComponentProps = {
  id?: string;
  style?: React.CSSProperties;
  className?: string;
  classNameLabel?: string;
  classNameOpened?: string;
  classNameOption?: string;
  classNamePlaceholder?: string;
  classNameSearchInput?: string;
  label?: string;
  placeholder?: string;
  value: any;
  setValue: (value: any) => void;
  items: any[];
  labelKey?: string;
  searchKey?: string;
  icon?: JSX.Element;
  iconTransitionSpeed?: number;
  scrollToTopOnClose?: boolean;
  disabled?: boolean;
  maxHeightOpened?: number;
  styleOpened?: React.CSSProperties;
  styleClosed?: React.CSSProperties;
  onSelectOpen?: () => void;
  onSelectClose?: () => void;
  onSelectChange?: (value: any) => void;
  renderOption?: (item: any, fullItem: any) => React.ReactNode;
  renderPlaceholder?: (item: any) => React.ReactNode;
};
