import { Dialog, DialogBody } from '@material-tailwind/react' import { Entity } from 'megalodon' type Props = { open: boolean close: () => void attachment: Entity.Attachment | null } export default function Media(props: Props) { return ( {props.attachment && ( {props.attachment.description} )} <> ) }