// @flow
import type { AriaProps } from '../../../mixins/aria';
import type { ContainerProps } from '../../../mixins/container';
import type { MarginOnlySpaceProps } from '../../../mixins/spacing';
import type { StylableProps } from '../../../mixins/themes';
import type { TestingProps } from '../../../mixins/testing';

export type MessageLevel = 'info' | 'success' | 'error';

export type MessageProps = {|
  ...AriaProps,
  ...ContainerProps,
  ...MarginOnlySpaceProps,
  ...StylableProps,
  ...TestingProps,
  level?: MessageLevel,
  title?: string,
|};
