"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useSigmaCustomRenderers = exports.SigmaCustomRenderersContext = void 0;
var react_1 = require("react");
var ramda_1 = require("ramda");
exports.SigmaCustomRenderersContext = (0, react_1.createContext)({
    addRenderers: ramda_1.identity,
    canvases: {}
});
var useSigmaCustomRenderers = function () {
    var sigmaCustomRenderers = (0, react_1.useContext)(exports.SigmaCustomRenderersContext);
    return sigmaCustomRenderers;
};
exports.useSigmaCustomRenderers = useSigmaCustomRenderers;
exports.SigmaCustomRenderersContext.displayName = 'SigmaCustomRenderersContext';
