import { default as React } from 'react'; import { IconStringList } from '../Icons/Icon.models'; import { ToastTypes } from './Toast'; import { ButtonProps } from '../Button/Button.models'; export type ToastContentProps = { /** The content displayed inside of the component */ text: React.ReactNode; /** Determines the style of the component */ type: ToastTypes; /** Optional array of buttons to be added to the right of the main content. The maximum number of buttons is 2. */ buttons?: [ButtonProps, ButtonProps?]; /** Optional custom icon to be displayed on the left of the main content. */ customIcon?: IconStringList; /** Optional prop to add a test id to the ToastContent for QA testing */ qaTestId?: string; }; declare const ToastContent: ({ text, type, buttons, customIcon, qaTestId, }: ToastContentProps) => React.JSX.Element; export default ToastContent;