import React, { Suspense } from "react"; import { classNames } from "@calcom/lib"; import { Icon } from "@calcom/ui"; interface HeaderProps { children: React.ReactNode; title?: string; description?: string; CTA?: React.ReactNode; borderInShellHeader?: boolean; backButton?: boolean; } export default function Header({ children, title, description, CTA, borderInShellHeader, backButton, }: HeaderProps) { return (
{backButton && ( )}
{title ? (

{title}

) : (
)} {description ? (

{description}

) : (
)}
{CTA}
}>{children}
); }