stream-chat-react
Version:
React components to create chat conversations or livestream style chat
18 lines (17 loc) • 582 B
TypeScript
import type { CSSProperties, MutableRefObject } from 'react';
import React from 'react';
import type { Attachment } from 'stream-chat';
export type GalleryProps = {
images: (({
image_url?: string | undefined;
thumb_url?: string | undefined;
} | Attachment) & {
previewUrl?: string;
style?: CSSProperties;
})[];
innerRefs?: MutableRefObject<(HTMLElement | null)[]>;
};
/**
* Displays images in a simple responsive grid with a light box to view the images.
*/
export declare const Gallery: (props: GalleryProps) => React.JSX.Element;