chatui2
Version:
The React library for Chatbot UI
25 lines (24 loc) • 607 B
TypeScript
import React from 'react';
export interface IAutoCompletesProps {
show?: boolean;
list?: {
id: string;
title: string;
}[];
onSelect?: (item: {
id: string;
title: string;
}) => void;
renderAutoCompletes?: (props: {
show?: boolean;
list?: {
id: string;
title: string;
}[];
onSelect?: (item: {
id: string;
title: string;
}) => void;
}) => React.ReactElement | null;
}
export declare const AutoCompletes: (props: IAutoCompletesProps) => React.JSX.Element | null;