"use strict";
/*
 *  This file is part of CoCalc: Copyright © 2021 Sagemath, Inc.
 *  License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Customize = exports.useCustomize = void 0;
const react_1 = require("react");
const CustomizeContext = (0, react_1.createContext)({});
const { Provider } = CustomizeContext;
exports.Customize = Provider;
const useCustomize = () => (0, react_1.useContext)(CustomizeContext) ?? {};
exports.useCustomize = useCustomize;
//# sourceMappingURL=customize.js.map