/// import { SxProps } from '@mui/material'; import { Variant } from '@mui/material/styles/createTypography'; import type { Theme } from 'src/theme/muiTheme'; import { OptimizeImageProps } from '../image'; export interface MediaCardProps extends OptimizeImageProps { children?: any; imgSrc: string; name?: JSX.Element | string; href?: string; target?: string; tag?: string; onClick?: () => void; width?: string; titleVariant?: Variant; elevation?: number; borderColor?: string; borderRadius?: string; className?: string; backgroundGradient?: boolean; imageClassName?: string; titleOverwrite?: boolean; truncateTitle?: boolean; sx?: SxProps; } export default function MediaCard({ children, name, imgSrc, href, target, onClick, width, titleVariant, elevation, borderColor, borderRadius, className, tag, backgroundGradient, imageClassName, titleOverwrite, truncateTitle, imageStorageBaseUrl, apiServerUrl, sx, }: MediaCardProps): JSX.Element;