import * as tslib_1 from "tslib";
import * as React from 'react';
import { css, classNamesFunction } from '../../../Utilities';
import { getStyles } from './Button.Basic.Example.styles';
import { DefaultButton } from 'office-ui-fabric-react/lib/Button';
import { Label } from 'office-ui-fabric-react/lib/Label';
var ButtonDefaultExample = /** @class */ (function (_super) {
    tslib_1.__extends(ButtonDefaultExample, _super);
    function ButtonDefaultExample() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    ButtonDefaultExample.prototype.render = function () {
        var _a = this.props, disabled = _a.disabled, checked = _a.checked;
        var getClassNames = classNamesFunction();
        var classNames = getClassNames(getStyles);
        return (React.createElement("div", { className: css(classNames.twoup) },
            React.createElement("div", null,
                React.createElement(Label, null, "Standard"),
                React.createElement(DefaultButton, { "data-automation-id": "test", allowDisabledFocus: true, disabled: disabled, checked: checked, text: "Button", onClick: this._alertClicked })),
            React.createElement("div", null,
                React.createElement(Label, null, "Primary"),
                React.createElement(DefaultButton, { primary: true, "data-automation-id": "test", disabled: disabled, checked: checked, text: "Button", onClick: this._alertClicked, allowDisabledFocus: true }))));
    };
    ButtonDefaultExample.prototype._alertClicked = function () {
        alert('Clicked');
    };
    return ButtonDefaultExample;
}(React.Component));
export { ButtonDefaultExample };
//# sourceMappingURL=Button.Default.Example.js.map