// @flow
import type { TranslatedContent } from '../../../../types';
import { type Level } from '../toast/toast.proptypes';

type ToastMessage = {
  id?: string,
  text: TranslatedContent,
  onClose?: (toastId?: string) => void,
  timerDelay?: number,
  level?: Level,
};

export type ToastCentreProps = {
  messages: ToastMessage[],
};
