"use client"; import Link from "next/link"; import styles from "./CatalogEmptyState.module.css"; export default function CatalogEmptyState({ icon, title, lead, actionHref, actionLabel, onAction, }: { icon: string; title: string; lead: string; actionHref?: string; actionLabel?: string; onAction?: () => void; }) { const showAction = Boolean(actionLabel && (actionHref || onAction)); return (

{title}

{lead}

{showAction && actionHref ? ( {actionLabel} ) : null} {showAction && !actionHref && onAction ? ( ) : null}
); }