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