@vectara/vectara-ui
Version:
Vectara's design system, codified as a React and Sass component library
13 lines (12 loc) • 448 B
TypeScript
type Props<T> = {
items: T[];
renderItem: (item: T) => React.ReactNode;
onClearAll?: () => void;
className?: string;
onKeyDown?: (e: React.KeyboardEvent<HTMLElement>) => void;
onClick?: (e: React.MouseEvent<HTMLElement>) => void;
fullWidth?: boolean;
"data-testid"?: string;
};
export declare const VuiItemsInput: <T>(props: Props<T> & import("react").RefAttributes<HTMLDivElement>) => React.JSX.Element;
export {};