@selfcommunity/react-ui
Version:
React UI Components to integrate a Community created with SelfCommunity Platform.
21 lines (20 loc) • 536 B
TypeScript
import { ReactElement } from 'react';
import { BoxProps } from '@mui/material';
import { SCMediaType } from '@selfcommunity/types/src/types';
export interface DisplayComponentProps extends BoxProps {
/**
* Medias
*/
medias: SCMediaType[];
/**
* Handle full width option
* @default false
*/
fullWidth?: boolean;
/**
* Handles on media click
*/
onMediaClick?: (any: any) => void;
}
declare const _default: (props: DisplayComponentProps) => ReactElement;
export default _default;