type ModalProps = { title: string; text: string; }; export default function Modal(props: ModalProps) { return ( <>

{props.title}

{props.text}

); }