@chatui/core
Version:
The React library for Chatbot UI
14 lines (13 loc) • 354 B
TypeScript
import React from 'react';
type ImgItem = {
src: string;
id?: string;
[k: string]: any;
};
export interface ImageListProps {
className?: string;
list: ImgItem[];
onClick?: (img: ImgItem, event: React.MouseEvent<HTMLImageElement>) => void;
}
export declare const ImageList: (props: ImageListProps) => React.JSX.Element;
export {};