import clsx from 'clsx'; import { CProps } from '@/components/props'; import { globals } from '@/utils/constants'; interface IndicatorProps extends CProps.Titled, CProps.Styling { /** Icon to display. */ icon: React.ReactNode; /** Indicates whether the indicator should have no padding. */ noPadding?: boolean; } /** * Displays a status `icon` with a tooltip. */ function Indicator({ icon, title, titleHtml, hideTitle, noPadding, className, ...restProps }: IndicatorProps) { return (