import { SxProps } from '@mui/material';
import { Theme } from '@emotion/react';
import { MuiModalBaseProps, MuiPaperBaseProps, OnAction } from '@/types';

export interface ModalBaseProps extends MuiModalBaseProps {
  sx?: SxProps<Theme>;
  children: React.ReactElement;
  open: boolean;
  onClose?: React.ReactEventHandler<{}>;
  action?: OnAction[];
  actionSpaceBetween?: boolean;
  className?: string;
  title?: string;
  description?: string;
  id?: string;
  paperProps?: MuiPaperBaseProps;
  width?: string;
  shouldNotCloseOnOutsideClick?: boolean;
  
}
