"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
var classFor_1 = require("../utils/classFor");
exports.ThemedComponent = function (_a) {
    var name = _a.name, children = _a.children, className = _a.className;
    var themedClass = classFor_1.useClassFor(name);
    return (react_1.default.createElement("div", { className: [themedClass, className].filter(Boolean).join(' ') }, children));
};
//# sourceMappingURL=ThemedComponent.js.map