import React from "react"; import { Icon } from "react-feather"; import { SVGComponent } from "@calcom/types/SVGComponent"; import Button from "./Button"; export default function EmptyScreen({ Icon, headline, description, buttonText, buttonOnClick, }: { Icon: SVGComponent | Icon; headline: string; description: string | React.ReactElement; buttonText?: string; buttonOnClick?: (event: React.MouseEvent) => void; }) { return ( <>

{headline}

{description}

{buttonOnClick && buttonText && }
); }