import { DialogProps } from '@material-ui/core/Dialog';
import React from 'react';
import { TitleProps } from '../Title';
import { ThemeObject } from '../Theme';

export interface ModalProps extends Omit<DialogProps, 'title'> {
  title?: {
    text: string;
    align?: 'left' | 'center' | 'right';
    textSize?: TitleProps['size'];
    multiline?: TitleProps['multiline'];
    maxWidth?: React.CSSProperties['maxWidth'];
  };
  hideBackdrop?: boolean;
  horizontalAlignment?: 'left' | 'center' | 'right';
  background?: keyof ThemeObject['background'];
  closeButton?: boolean;
  onClose?: () => void;
}
