import type { MantineColor } from "@mantine/core"; import { Box, Tooltip } from "@mantine/core"; import { useSettings } from "@homarr/settings"; import type { TablerIcon } from "@homarr/ui"; interface PingDotProps { icon: TablerIcon; color: MantineColor; tooltip: string; } export const PingDot = ({ color, tooltip, ...props }: PingDotProps) => { const { pingIconsEnabled } = useSettings(); return ( {pingIconsEnabled ? ( ) : ( )} ); };