@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
29 lines (28 loc) • 605 B
TypeScript
export interface ImagePreviewComponentProps {
/**
* Class name to apply to the root object
* @default empty string
*/
className?: string;
/**
* Medias objs
* @default []
*/
medias: Array<any>;
/**
* Maximum number of visible media
* @default 5
*/
maxVisible?: number;
/**
* Gallery view
* @default true
*/
gallery?: boolean;
/**
* Handles on media click
*/
onMediaClick?: (any: any) => void;
}
declare const _default: (props: ImagePreviewComponentProps) => JSX.Element;
export default _default;