import { PackageOpen } from 'lucide-react' import { Link } from 'react-router-dom' interface EmptyStateProps { title?: string message?: string actionText?: string actionLink?: string actionClick?: () => void } export default function EmptyState({ title = 'Nothing found', message = 'We could not find any items here.', actionText = 'Browse Shop', actionLink, actionClick }: EmptyStateProps) { const ButtonContent = () => ( {actionText} ) return (
{message}
{actionClick ? (