"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const react_1 = __importDefault(require("react"));
const theme_1 = require("../../theme");
const Button_style_1 = __importDefault(require("./Button.style"));
const Button = (props) => {
    const { onClick, label, disabled, status = theme_1.EStatusColor.PRIMARY, fullWidth, bgColor } = props;
    return (react_1.default.createElement("button", { style: Object.assign(Object.assign({}, Button_style_1.default.button), { background: bgColor || `${theme_1.getColorFromStatus(status)} 0% 0% no-repeat padding-box`, width: fullWidth ? "100%" : "auto" }), onClick: onClick, disabled: disabled }, label));
};
exports.default = Button;
//# sourceMappingURL=Button.js.map