@oncehub/ui-react 2.0.4-beta.8 → 2.1.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,13 +3,13 @@ interface Props {
3
3
  children: any;
4
4
  setQuery: (query: any) => void;
5
5
  }
6
+ export declare const AutoCompleteOptions: FC<Props>;
6
7
  type ComboboxOptionProps = {
7
8
  children: React.ReactNode;
8
9
  value: any;
9
- className?: any;
10
- disable?: boolean;
10
+ className: any;
11
+ disable: boolean;
11
12
  };
12
- export declare const AutoCompleteOptions: FC<Props>;
13
- export type ComboboxRef = HTMLDivElement;
14
- export declare const AutoCompleteOption: React.ForwardRefExoticComponent<ComboboxOptionProps & React.RefAttributes<HTMLDivElement>>;
13
+ export type ComboboxRef = HTMLLIElement;
14
+ export declare const AutoCompleteOption: React.ForwardRefExoticComponent<ComboboxOptionProps & React.RefAttributes<HTMLLIElement>>;
15
15
  export {};
@@ -4,7 +4,7 @@ interface Props {
4
4
  children: any;
5
5
  selected: IOption | null;
6
6
  onSelect: (obj: IOption) => void;
7
- setQuery?: (query: string) => void;
7
+ setQuery: (query: any) => void;
8
8
  disable?: boolean;
9
9
  clearSearch?: boolean;
10
10
  themeColor?: string;
@@ -10,6 +10,6 @@ type SelectOptionProps = {
10
10
  className: any;
11
11
  disable: boolean;
12
12
  };
13
- export type SelectRef = HTMLDivElement;
14
- export declare const SelectOption: React.ForwardRefExoticComponent<SelectOptionProps & React.RefAttributes<HTMLDivElement>>;
13
+ export type SelectRef = HTMLLIElement;
14
+ export declare const SelectOption: React.ForwardRefExoticComponent<SelectOptionProps & React.RefAttributes<HTMLLIElement>>;
15
15
  export {};