UNPKG

@actinc/dls

Version:

Design Language System (DLS) for ACT & Encoura front-end projects.

21 lines 678 B
/** * Copyright (c) ACT, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { DialogProps as MuiDialogProps } from '@mui/material'; import { ReactElement } from 'react'; export type DialogProps = MuiDialogProps & { onClose?: (event: {}, reason: 'backdropClick' | 'escapeKeyDown' | 'closeIconClick') => void; title?: string; }; /** * # Dialog * * * @param formSwitchProps */ export declare function Dialog({ children, onClose, title, ...dialogProps }: DialogProps): ReactElement<DialogProps>; export default Dialog; //# sourceMappingURL=index.d.ts.map