import { ReactNode } from "react" import { AppContent } from "./ui/app-content" type BannerProps = { title: ReactNode subtitle?: string children?: ReactNode } const Banner = ({ title, subtitle, children }: BannerProps) => { return (
{typeof title === "string" ? (
{title}
) : ( title )} {subtitle &&

{subtitle}

}
{children}
) } Banner.displayName = "Banner" export { Banner }