import type { PropsWithChildren } from 'react'; import type { AriaLabelingProps, AriaDisabledProps } 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 MessageContainer * @public */ export interface MessageContainerProps extends DOMProps, StylingProps, DataTestId, MaskingProps, AriaLabelingProps, AriaDisabledProps, BehaviorTrackingProps, PropsWithChildren { /** Defines the type of the panel. */ variant?: 'neutral' | 'primary' | 'success' | 'warning' | 'critical'; /** Handler that is called if the panel gets dismissed. */ onDismiss?: () => void; }