FrontPastel/node_modules/@mui/base/Modal/Modal.d.ts

26 lines
970 B
TypeScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
import { PolymorphicComponent } from '../utils/PolymorphicComponent';
import { ModalTypeMap } from './Modal.types';
/**
* Modal is a lower-level construct that is leveraged by the following components:
*
* * [Dialog](https://mui.com/material-ui/api/dialog/)
* * [Drawer](https://mui.com/material-ui/api/drawer/)
* * [Menu](https://mui.com/material-ui/api/menu/)
* * [Popover](https://mui.com/material-ui/api/popover/)
*
* If you are creating a modal dialog, you probably want to use the [Dialog](https://mui.com/material-ui/api/dialog/) component
* rather than directly using Modal.
*
* This component shares many concepts with [react-overlays](https://react-bootstrap.github.io/react-overlays/#modals).
*
* Demos:
*
* - [Modal](https://mui.com/base-ui/react-modal/)
*
* API:
*
* - [Modal API](https://mui.com/base-ui/react-modal/components-api/#modal)
*/
declare const Modal: PolymorphicComponent<ModalTypeMap<{}, "div">>;
export { Modal };