import { type PropsWithChildren } from 'react'; import type { AriaDisabledProps, AriaLabelingProps } from '../../core/types/a11y-props.js'; import type { BehaviorTrackingProps } from '../../core/types/behavior-tracking-props.js'; import type { DataTestId } from '../../core/types/data-props.js'; import type { DOMProps } from '../../core/types/dom.js'; import type { MaskingProps } from '../../core/types/masking-props.js'; import type { StylingProps } from '../../core/types/styling-props.js'; /** * Accepted properties for HealthIndicator * @public */ export interface HealthIndicatorProps extends DOMProps, StylingProps, DataTestId, PropsWithChildren, MaskingProps, AriaLabelingProps, AriaDisabledProps, BehaviorTrackingProps { /** * The status of the component. This should be chosen based on the context * the indicator is used in. * @defaultValue 'neutral' */ status?: 'ideal' | 'good' | 'neutral' | 'warning' | 'critical'; /** * Configures the visual representation of the component, which is a shape by * default. * @defaultValue 'shape' */ visual?: 'shape' | 'icon'; }