import { ReactNode } from "react" import style from "./event.module.css" export type ViewEventProps = { title: ReactNode, postcard: ReactNode, description: ReactNode, daterange: ReactNode, } /** * View intended for use in the event details page. */ export const ViewEvent = (props: ViewEventProps) => { return (

{props.title}

{props.postcard}
{props.description}
{props.daterange}
) }