import { Link, Typography, TypographyProps } from "@mui/material"; import { createMarkup } from "../../../helpers/common"; import React from "react"; interface EventTitleProps { title: string; url?: string; variant?: TypographyProps["variant"]; } const EventTitle = (props: EventTitleProps) => { const { title, url, variant } = props; const markup = createMarkup(title); if (url) { return (