@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
16 lines (15 loc) • 480 B
TypeScript
import { ReactElement } from 'react';
import { SCMediaType } from '@selfcommunity/types/src/types';
import { BoxProps } from '@mui/material';
export interface DisplayComponentProps extends BoxProps {
/**
* Medias
*/
medias: SCMediaType[];
/**
* Handles on media click
*/
onMediaClick?: (any: any) => void;
}
declare const _default: ({ className, medias, onMediaClick, ...rest }: DisplayComponentProps) => ReactElement;
export default _default;