@yamada-ui/autocomplete
Version:
Yamada UI autocomplete component
20 lines (17 loc) • 661 B
text/typescript
import * as _yamada_ui_core from '@yamada-ui/core';
import { HTMLUIProps } from '@yamada-ui/core';
import { ReactElement } from 'react';
interface AutocompleteCreateOptions {
/**
* The label of the autocomplete create option.
*/
children?: ((inputValue: string) => string) | string;
/**
* The autocomplete create option icon to use.
*/
icon?: null | ReactElement;
}
interface AutocompleteCreateProps extends Omit<HTMLUIProps, "children">, AutocompleteCreateOptions {
}
declare const AutocompleteCreate: _yamada_ui_core.Component<"div", AutocompleteCreateProps>;
export { AutocompleteCreate, type AutocompleteCreateProps };