import Typography from '@mui/material/Typography'; import {useTheme} from '@mui/material/styles'; import Box from '@mui/material/Box'; import ShareEvent from '../ShareEvent'; import SupportCaroster from '../SupportCaroster'; interface Props { eventName: string; title: string; description: string; showImage?: boolean; } const NoCar = ({eventName, title, description, showImage}: Props) => { const theme = useTheme(); return ( {title} {showImage && ( )} {description} ); }; export default NoCar;