import { Anchor, Card, Stack, Text } from "@mantine/core"; import type { TablerIcon } from "@tabler/icons-react"; interface NoResultsProps { icon: TablerIcon; title: string; action?: { label: string; href: string; hidden?: boolean; }; } export const NoResults = ({ icon: Icon, title, action }: NoResultsProps) => { return ( {title} {!action?.hidden && {action?.label}} ); };