// material-ui import { useTheme } from '@mui/material/styles'; import { Card, CardContent, CardMedia, Grid, Typography } from '@mui/material'; import { gridSpacing } from 'store/constant'; // assets import DownloadForOfflineTwoToneIcon from '@mui/icons-material/DownloadForOfflineTwoTone'; const backImage = require.context('assets/images/profile', true); // ==============================|| ATTACHMENT CARD ||============================== // export interface AttachmentCardProps { title: string; image: string; } const AttachmentCard = ({ title, image }: AttachmentCardProps) => { const theme = useTheme(); const backProfile = image && backImage(`./${image}`).default; return ( {title} ); }; export default AttachmentCard;