"use strict";
var __read = (this && this.__read) || function (o, n) {
    var m = typeof Symbol === "function" && o[Symbol.iterator];
    if (!m) return o;
    var i = m.call(o), r, ar = [], e;
    try {
        while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
    }
    catch (error) { e = { error: error }; }
    finally {
        try {
            if (r && !r.done && (m = i["return"])) m.call(i);
        }
        finally { if (e) throw e.error; }
    }
    return ar;
};
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importStar(require("react"));
var classFor_1 = require("../utils/classFor");
var ThemedComponent_1 = require("../commons/ThemedComponent");
var Theme_1 = require("../themes/Theme");
var themes = ['default', 'jarvis', 'unilogin'];
exports.ThemesPlayground = function () {
    var _a = __read(react_1.useContext(Theme_1.ThemeContext), 2), setTheme = _a[1];
    return (react_1.default.createElement(ThemedComponent_1.ThemedComponent, { name: "selector" },
        react_1.default.createElement("select", { className: "playground-theme-select", onChange: function (event) { return setTheme(event.target.value); } }, themes.map(function (theme) { return react_1.default.createElement("option", { key: theme }, theme); })),
        "Element: ",
        classFor_1.useClassFor('selector')));
};
//# sourceMappingURL=ThemesPlayground.js.map