import { MouseEventHandler, ReactNode } from 'react'; import { IconElement } from '../common'; import { ButtonWithAsProp } from '../Button'; export interface FloatingNotificationProps { /** Applied as data-hook HTML attribute that can be used in the tests. */ dataHook?: string; /** Specifies a CSS class name to be appended to the component's root element. * @internal */ className?: string; /** Controls the type of the notification, which sets its color. * @default 'standard' */ type?: FloatingNotificationType; /** Specifies whether the close button is displayed. * @default true */ showCloseButton?: boolean; /** Defines a callback function which is called when the close button is clicked. */ onClose?: MouseEventHandler; /** Accepts props for a `` action. The text button is rendered only when this object isn't empty. Use `label` to set its text. */ textButtonProps?: FloatingNotificationButtonProps; /** Accepts props for a `