'use strict';

var tslib_es6 = require('./tslib.es6-2c2ed574.js');
var React = require('react');
var core = require('@mantine/core');
var index_styles = require('./index.styles-691de58f.js');

function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

const Modal = (_a) => {
    var { styles, classNames, transitionProps } = _a, rest = tslib_es6.__rest(_a, ["styles", "classNames", "transitionProps"]);
    const { classes } = index_styles.useStyles(undefined, {
        name: 'Modal',
        styles,
        classNames,
    });
    return (React__default["default"].createElement(core.Modal, Object.assign({ centered: true, classNames: classes, transitionProps: Object.assign({ transition: 'fade' }, transitionProps), trapFocus: false }, rest)));
};

exports.Modal = Modal;
