react-material-overlay
Version:
A fully featured Material UI implementation of overlays like modals, alert dialogs, lightboxes, and bottom sheets featuring easy stack management and browser history integration
9 lines • 409 B
TypeScript
import React from 'react';
import { IconButtonProps } from '@mui/material';
export interface ICloseButtonProps {
closeHandler: () => void;
icon: React.ReactNode;
closeButtonProps?: Omit<IconButtonProps, 'onClick'>;
}
export default function CloseButton({ closeHandler, icon, closeButtonProps }: ICloseButtonProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CloseButton.d.ts.map