"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Button = void 0;
const jsx_runtime_1 = require("react/jsx-runtime");
const Button_1 = require("@mui/material/Button");
const Button = (props) => {
    const { color = 'primary', label, size = 'medium', variant = 'contained', onClick, } = props;
    return ((0, jsx_runtime_1.jsx)(Button_1.default, { color: color, size: size, variant: variant, onClick: onClick ? (event) => onClick(event) : undefined, children: label }));
};
exports.Button = Button;
exports.default = exports.Button;
//# sourceMappingURL=Button.js.map