import type { ReactNode } from 'react' import { cn } from '@/lib/utils' export const CampaignHomeLayout = ({ actions, searchSlot, focused = false, }: { actions: ReactNode searchSlot?: ReactNode /** When true (trimmed debounced query length ≥ min), hide thumb-zone spacer and action strip. */ focused?: boolean }) => (
{focused ? null : (
)}
{actions}
{searchSlot ? (
{searchSlot}
) : null}
)