import Image from "next/image"; import classNames from "@calcom/lib/classNames"; type Maybe = T | null | undefined; export type OrgBannerProps = { alt: string; width?: number; height?: number; imageSrc?: Maybe; fallback?: React.ReactNode; className?: string; "data-testid"?: string; }; export function OrgBanner(props: OrgBannerProps) { const { imageSrc, alt, width = 1500, height = 500 } = props; if (!imageSrc) { return
{props.fallback}
; } return ( {alt} ); }