import React from 'react';
import { useClassFor } from '../utils/classFor';
export var ThemedComponent = function (_a) {
    var name = _a.name, children = _a.children, className = _a.className;
    var themedClass = useClassFor(name);
    return (React.createElement("div", { className: [themedClass, className].filter(Boolean).join(' ') }, children));
};
//# sourceMappingURL=ThemedComponent.js.map