Combobox: { displayName?: string; (props: ComboboxOptionsProps & RefAttributes<HTMLDivElement>): ReactElement; ( props: ComboboxBaseOwnProps & Omit< ComboBoxProps<NormalizedOption, "single">, | "search" | "children" | "defaultValue" | "onChange" | "loading" | "value" | (keyof ComboboxBaseOwnProps)
| "options" | "items" | "dependencies" | "defaultItems" | "inputValue" | "defaultInputValue" | "onInputChange" | "defaultFilter" | "selectedKey" | "defaultSelectedKey" | "onSelectionChange", > & { children?: undefined; defaultFilter?: undefined; defaultInputValue?: undefined; dependencies?: undefined; inputValue?: undefined; items?: undefined; loading?: undefined; onInputChange?: undefined; options: AsyncListSource<IdentifiedOption>; search?: | true | { defaultInputValue?: string; filter?: (item: T, query: string) => boolean; inputValue?: undefined; mode?: "client"; onInputChange?: (value: string) => void; } | { defaultInputValue?: undefined; filter?: (item: T, query: string) => boolean; inputValue: string; mode?: "client"; onInputChange: (value: string) => void; }; } & ComboboxKeySelectionProps<NormalizedOption> & RefAttributes< HTMLDivElement, >, ): ReactElement; <T extends { id: Key }>( props: ComboboxBaseOwnProps & Omit< ComboBoxProps<T, "single">, | "search" | "children" | "defaultValue" | "onChange" | "loading" | "value" | (keyof ComboboxBaseOwnProps)
| "options" | "items" | "dependencies" | "defaultItems" | "inputValue" | "defaultInputValue" | "onInputChange" | "defaultFilter" | "selectedKey" | "defaultSelectedKey" | "onSelectionChange", > & { children: (item: T) => ReactElement; defaultFilter?: undefined; defaultInputValue?: undefined; dependencies?: readonly unknown[]; inputValue?: undefined; items: Iterable<T>; loading?: LoadingConfig; onInputChange?: undefined; options?: undefined; search?: ComboboxSearch<T>; } & ComboboxKeySelectionProps<T> & RefAttributes<HTMLDivElement>, ): ReactElement; <T extends { id: Key }>( props: ComboboxBaseOwnProps & Omit< ComboBoxProps<T, "single">, | "search" | "children" | "defaultValue" | "onChange" | "loading" | "value" | (keyof ComboboxBaseOwnProps)
| "options" | "items" | "dependencies" | "defaultItems" | "inputValue" | "defaultInputValue" | "onInputChange" | "defaultFilter" | "selectedKey" | "defaultSelectedKey" | "onSelectionChange", > & { children: (item: T) => ReactElement; defaultFilter?: undefined; defaultInputValue?: undefined; dependencies?: readonly unknown[]; inputValue?: undefined; items: AsyncListSource<T>; loading?: undefined; onInputChange?: undefined; options?: undefined; search?: | true | { defaultInputValue?: string; filter?: (item: T, query: string) => boolean; inputValue?: undefined; mode?: "client"; onInputChange?: (value: string) => void; } | { defaultInputValue?: undefined; filter?: (item: T, query: string) => boolean; inputValue: string; mode?: "client"; onInputChange: (value: string) => void; }; } & ComboboxKeySelectionProps<T> & RefAttributes<HTMLDivElement>, ): ReactElement; ( props: ComboboxBaseOwnProps & Omit< ComboBoxProps<NormalizedOption, "single">, | "search" | "children" | "defaultValue" | "onChange" | "loading" | "value" | (keyof ComboboxBaseOwnProps)
| "options" | "items" | "dependencies" | "defaultItems" | "inputValue" | "defaultInputValue" | "onInputChange" | "defaultFilter" | "selectedKey" | "defaultSelectedKey" | "onSelectionChange", > & { children: | ReactElement<any, string | JSXElementConstructor<any>> | ReactElement<any, string | JSXElementConstructor<any>>[]; defaultFilter?: undefined; defaultInputValue?: undefined; dependencies?: undefined; inputValue?: undefined; items?: undefined; loading?: undefined; onInputChange?: undefined; options?: undefined; search?: ComboboxStaticSearch; } & ComboboxKeySelectionProps<NormalizedOption> & RefAttributes< HTMLDivElement, >, ): ReactElement; ( props: ComboboxBaseOwnProps & Omit< ComboBoxProps<IdentifiedOption, "single">, | "search" | "children" | "defaultValue" | "onChange" | "loading" | "value" | (keyof ComboboxBaseOwnProps)
| "options" | "items" | "dependencies" | "defaultItems" | "inputValue" | "defaultInputValue" | "onInputChange" | "defaultFilter" | "selectedKey" | "defaultSelectedKey" | "onSelectionChange", > & { children?: undefined; defaultFilter?: undefined; defaultInputValue?: undefined; dependencies?: undefined; inputValue?: undefined; items?: undefined; loading?: undefined; onInputChange?: undefined; options: AsyncListSource<IdentifiedOption>; search: { defaultInputValue?: undefined; filter?: undefined; inputValue?: undefined; mode: "server"; onInputChange?: undefined; }; } & ComboboxItemSelectionProps<IdentifiedOption> & RefAttributes< HTMLDivElement, >, ): ReactElement; <T extends ComboboxServerItem>( props: ComboboxBaseOwnProps & Omit< ComboBoxProps<T, "single">, | "search" | "children" | "defaultValue" | "onChange" | "loading" | "value" | (keyof ComboboxBaseOwnProps)
| "options" | "items" | "dependencies" | "defaultItems" | "inputValue" | "defaultInputValue" | "onInputChange" | "defaultFilter" | "selectedKey" | "defaultSelectedKey" | "onSelectionChange", > & { children: (item: T) => ReactElement; defaultFilter?: undefined; defaultInputValue?: undefined; dependencies?: readonly unknown[]; inputValue?: undefined; items: AsyncListSource<T>; loading?: undefined; onInputChange?: undefined; options?: undefined; search: { defaultInputValue?: undefined; filter?: undefined; inputValue?: undefined; mode: "server"; onInputChange?: undefined; }; } & ComboboxItemSelectionProps<T> & RefAttributes<HTMLDivElement>, ): ReactElement;} = ... Type Declaration
- (props: ComboboxOptionsProps & RefAttributes<HTMLDivElement>): ReactElement
Returns ReactElement
- (
props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<NormalizedOption, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children?: undefined;
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: undefined;
inputValue?: undefined;
items?: undefined;
loading?: undefined;
onInputChange?: undefined;
options: AsyncListSource<IdentifiedOption>;
search?:
| true
| {
defaultInputValue?: string;
filter?: (item: T, query: string) => boolean;
inputValue?: undefined;
mode?: "client";
onInputChange?: (value: string) => void;
}
| {
defaultInputValue?: undefined;
filter?: (item: T, query: string) => boolean;
inputValue: string;
mode?: "client";
onInputChange: (value: string) => void;
};
} & ComboboxKeySelectionProps<NormalizedOption> & RefAttributes<
HTMLDivElement,
>,
): ReactElement Parameters
- props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<NormalizedOption, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children?: undefined;
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: undefined;
inputValue?: undefined;
items?: undefined;
loading?: undefined;
onInputChange?: undefined;
options: AsyncListSource<IdentifiedOption>;
search?:
| true
| {
defaultInputValue?: string;
filter?: (item: T, query: string) => boolean;
inputValue?: undefined;
mode?: "client";
onInputChange?: (value: string) => void;
}
| {
defaultInputValue?: undefined;
filter?: (item: T, query: string) => boolean;
inputValue: string;
mode?: "client";
onInputChange: (value: string) => void;
};
} & ComboboxKeySelectionProps<NormalizedOption> & RefAttributes<
HTMLDivElement,
>
Returns ReactElement
- <T extends { id: Key }>(
props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<T, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children: (item: T) => ReactElement;
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: readonly unknown[];
inputValue?: undefined;
items: Iterable<T>;
loading?: LoadingConfig;
onInputChange?: undefined;
options?: undefined;
search?: ComboboxSearch<T>;
} & ComboboxKeySelectionProps<T> & RefAttributes<HTMLDivElement>,
): ReactElement Parameters
- props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<T, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children: (item: T) => ReactElement;
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: readonly unknown[];
inputValue?: undefined;
items: Iterable<T>;
loading?: LoadingConfig;
onInputChange?: undefined;
options?: undefined;
search?: ComboboxSearch<T>;
} & ComboboxKeySelectionProps<T> & RefAttributes<HTMLDivElement>
Returns ReactElement
- <T extends { id: Key }>(
props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<T, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children: (item: T) => ReactElement;
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: readonly unknown[];
inputValue?: undefined;
items: AsyncListSource<T>;
loading?: undefined;
onInputChange?: undefined;
options?: undefined;
search?:
| true
| {
defaultInputValue?: string;
filter?: (item: T, query: string) => boolean;
inputValue?: undefined;
mode?: "client";
onInputChange?: (value: string) => void;
}
| {
defaultInputValue?: undefined;
filter?: (item: T, query: string) => boolean;
inputValue: string;
mode?: "client";
onInputChange: (value: string) => void;
};
} & ComboboxKeySelectionProps<T> & RefAttributes<HTMLDivElement>,
): ReactElement Parameters
- props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<T, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children: (item: T) => ReactElement;
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: readonly unknown[];
inputValue?: undefined;
items: AsyncListSource<T>;
loading?: undefined;
onInputChange?: undefined;
options?: undefined;
search?:
| true
| {
defaultInputValue?: string;
filter?: (item: T, query: string) => boolean;
inputValue?: undefined;
mode?: "client";
onInputChange?: (value: string) => void;
}
| {
defaultInputValue?: undefined;
filter?: (item: T, query: string) => boolean;
inputValue: string;
mode?: "client";
onInputChange: (value: string) => void;
};
} & ComboboxKeySelectionProps<T> & RefAttributes<HTMLDivElement>
Returns ReactElement
- (
props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<NormalizedOption, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children:
| ReactElement<any, string | JSXElementConstructor<any>>
| ReactElement<any, string | JSXElementConstructor<any>>[];
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: undefined;
inputValue?: undefined;
items?: undefined;
loading?: undefined;
onInputChange?: undefined;
options?: undefined;
search?: ComboboxStaticSearch;
} & ComboboxKeySelectionProps<NormalizedOption> & RefAttributes<
HTMLDivElement,
>,
): ReactElement Parameters
- props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<NormalizedOption, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children:
| ReactElement<any, string | JSXElementConstructor<any>>
| ReactElement<any, string | JSXElementConstructor<any>>[];
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: undefined;
inputValue?: undefined;
items?: undefined;
loading?: undefined;
onInputChange?: undefined;
options?: undefined;
search?: ComboboxStaticSearch;
} & ComboboxKeySelectionProps<NormalizedOption> & RefAttributes<
HTMLDivElement,
>
Returns ReactElement
- (
props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<IdentifiedOption, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children?: undefined;
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: undefined;
inputValue?: undefined;
items?: undefined;
loading?: undefined;
onInputChange?: undefined;
options: AsyncListSource<IdentifiedOption>;
search: {
defaultInputValue?: undefined;
filter?: undefined;
inputValue?: undefined;
mode: "server";
onInputChange?: undefined;
};
} & ComboboxItemSelectionProps<IdentifiedOption> & RefAttributes<
HTMLDivElement,
>,
): ReactElement Parameters
- props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<IdentifiedOption, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children?: undefined;
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: undefined;
inputValue?: undefined;
items?: undefined;
loading?: undefined;
onInputChange?: undefined;
options: AsyncListSource<IdentifiedOption>;
search: {
defaultInputValue?: undefined;
filter?: undefined;
inputValue?: undefined;
mode: "server";
onInputChange?: undefined;
};
} & ComboboxItemSelectionProps<IdentifiedOption> & RefAttributes<
HTMLDivElement,
>
Returns ReactElement
- <T extends ComboboxServerItem>(
props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<T, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children: (item: T) => ReactElement;
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: readonly unknown[];
inputValue?: undefined;
items: AsyncListSource<T>;
loading?: undefined;
onInputChange?: undefined;
options?: undefined;
search: {
defaultInputValue?: undefined;
filter?: undefined;
inputValue?: undefined;
mode: "server";
onInputChange?: undefined;
};
} & ComboboxItemSelectionProps<T> & RefAttributes<HTMLDivElement>,
): ReactElement Parameters
- props: ComboboxBaseOwnProps & Omit<
ComboBoxProps<T, "single">,
| "search"
| "children"
| "defaultValue"
| "onChange"
| "loading"
| "value"
| (keyof ComboboxBaseOwnProps)
| "options"
| "items"
| "dependencies"
| "defaultItems"
| "inputValue"
| "defaultInputValue"
| "onInputChange"
| "defaultFilter"
| "selectedKey"
| "defaultSelectedKey"
| "onSelectionChange",
> & {
children: (item: T) => ReactElement;
defaultFilter?: undefined;
defaultInputValue?: undefined;
dependencies?: readonly unknown[];
inputValue?: undefined;
items: AsyncListSource<T>;
loading?: undefined;
onInputChange?: undefined;
options?: undefined;
search: {
defaultInputValue?: undefined;
filter?: undefined;
inputValue?: undefined;
mode: "server";
onInputChange?: undefined;
};
} & ComboboxItemSelectionProps<T> & RefAttributes<HTMLDivElement>
Returns ReactElement
OptionaldisplayName?: string