norma-library
Version:
Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.
21 lines (18 loc) • 562 B
text/typescript
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;
}