import React, { ReactNode } from 'react'; import { Block } from '@/components/Blocks/Block'; import { BlockHeading } from '@/components/Blocks/BlockHeading'; import { BlockContent } from '@/components/Blocks/BlockContent'; import UpsellOverlay from '@/components/Upsell/UpsellOverlay'; interface OverlayBlockProps { /** Heading shown at the top of the block. */ title: ReactNode; /** Faint, blurred placeholder label rendered behind the overlay card. */ blurLabel: string; /** Overlay card content (e.g. UpsellCopy or ActivationCopy). */ children: ReactNode; /** Extra classes forwarded to the wrapping Block (e.g. grid placement). */ className?: string; } /** * Dashboard block that shows a blurred placeholder with a centered call-to-action * card on top. Shared shell for gated blocks — Pro upsells (UpsellCopy) and * integration activation prompts (ActivationCopy) drop into `children`. * * @param {OverlayBlockProps} props - Component props. * @return {JSX.Element} The rendered overlay block. */ const OverlayBlock: React.FC = ({ title, blurLabel, children, className = '' }) => { return (

{ blurLabel }

{ children }
); }; export default OverlayBlock;