"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = Button;
const tslib_1 = require("tslib");
const React = tslib_1.__importStar(require("react"));
const joinClasses_1 = tslib_1.__importDefault(require("../utils/joinClasses"));
function Button({ children, className, 'data-test-id': dataTestId, disabled, onClick, small, title, }) {
    return (React.createElement("button", { "aria-label": title, className: (0, joinClasses_1.default)('Button__root', disabled && 'Button__disabled', small && 'Button__small', className), disabled: disabled, onClick: onClick, title: title, type: 'button', ...(dataTestId && { 'data-test-id': dataTestId }) }, children));
}
//# sourceMappingURL=Button.js.map