@yamada-ui/autocomplete
Version:
Yamada UI autocomplete component
20 lines (17 loc) • 617 B
TypeScript
import * as _yamada_ui_core from '@yamada-ui/core';
import { HTMLUIProps } from '@yamada-ui/core';
import { ReactElement } from 'react';
interface AutocompleteEmptyOptions {
/**
* The label of the autocomplete empty option.
*/
children?: string;
/**
* The autocomplete empty option icon to use.
*/
icon?: null | ReactElement;
}
interface AutocompleteEmptyProps extends Omit<HTMLUIProps, "children">, AutocompleteEmptyOptions {
}
declare const AutocompleteEmpty: _yamada_ui_core.Component<"div", AutocompleteEmptyProps>;
export { AutocompleteEmpty, type AutocompleteEmptyProps };