define(["require", "exports", "tslib", "react", "@uifabric/experiments", "office-ui-fabric-react"], function (require, exports, tslib_1, React, experiments_1, office_ui_fabric_react_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    /* eslint-disable deprecation/deprecation */
    var tokens = {
        sectionStack: {
            childrenGap: 32,
        },
        buttonStack: {
            childrenGap: 8,
        },
    };
    var testTheme = office_ui_fabric_react_1.createTheme({
        semanticColors: {
            buttonText: '#E20000',
        },
        fonts: {
            small: {
                color: 'purple',
            },
        },
    });
    /* eslint-disable react/jsx-no-bind */
    var ButtonTokensExample = /** @class */ (function (_super) {
        tslib_1.__extends(ButtonTokensExample, _super);
        function ButtonTokensExample() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        ButtonTokensExample.prototype.render = function () {
            return (React.createElement(office_ui_fabric_react_1.Stack, { disableShrink: true, horizontal: true, tokens: tokens.buttonStack },
                React.createElement(experiments_1.Button, { primary: true, icon: "PeopleAdd", content: "Token Function: Red BG, White Text", tokens: function (props, theme) {
                        return props.primary && {
                            backgroundColor: '#E20000',
                            backgroundColorHovered: 'pink',
                            color: 'white',
                            colorHovered: '#595959',
                            iconColor: 'white',
                            iconColorHovered: '#595959',
                        };
                    } }),
                React.createElement(experiments_1.Button, { icon: "PeopleAdd", content: "Token Function: Red Icon (via theme), Purple Text", theme: testTheme, tokens: function (props, theme) { return ({
                        color: theme.fonts.small.color,
                    }); } })));
        };
        return ButtonTokensExample;
    }(React.Component));
    exports.ButtonTokensExample = ButtonTokensExample;
});
//# sourceMappingURL=Button.Tokens.Example.js.map