import { IModalProps } from '@fluentui/react';
import { ThemeObject } from '../Theme';
import { TitleProps } from '../Title';

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