define(["require", "exports", "tslib", "react", "@fluentui/react-theme-provider"], function (require, exports, tslib_1, React, react_theme_provider_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.default = {
        title: 'ThemeProvider',
    };
    var ThemedContentFC = function () {
        var theme = react_theme_provider_1.useTheme();
        console.log('theme from useTheme', theme);
        return null;
    };
    var ThemedContent = /** @class */ (function (_super) {
        tslib_1.__extends(ThemedContent, _super);
        function ThemedContent() {
            return _super !== null && _super.apply(this, arguments) || this;
        }
        ThemedContent.prototype.render = function () {
            return (React.createElement(react_theme_provider_1.ThemeContext.Consumer, null, function (theme) {
                console.log('theme from context consumer', theme);
                return null;
            }));
        };
        return ThemedContent;
    }(React.Component));
    exports.AccessTheme = function () { return (React.createElement(react_theme_provider_1.ThemeProvider, null,
        React.createElement(ThemedContent, null),
        React.createElement(ThemedContentFC, null),
        React.createElement("div", null, "See console log"))); };
});
//# sourceMappingURL=ThemeProvider.stories.js.map