// @flow
import type { Node } from 'react';
import type { SpaceProps } from '../../../mixins/spacing';

export type ModalBreakpoints = 'sm' | 'md' | 'lg' | 'xl';

export type ModalProps = {
  show: boolean,
  persistent?: boolean,
  onClose: () => void,
  size?: ModalBreakpoints,
  children: Node,
  className?: string,
  hideHeader?: boolean,
  refToRestoreFocus?: { current: HTMLElement | null },
} & SpaceProps;
