lune-ui-lib
Version:
Lune UI Components Library
16 lines (15 loc) • 356 B
TypeScript
import type { SxProps } from '@mui/material';
import { FC } from 'react';
type MediaItem = {
url: string;
type: 'image' | 'video';
attributionText?: string;
attributionUrl?: string;
previewWidth?: number;
previewHeight?: number;
};
declare const MediaBox: FC<{
media: MediaItem[];
sx?: SxProps;
}>;
export default MediaBox;