"use strict";
var _a;
Object.defineProperty(exports, "__esModule", { value: true });
exports.useToggleGroupContext = exports.ToggleGroupProvider = exports.ToggleGroupContext = void 0;
const react_1 = require("react");
const helpers_1 = require("../utils/helpers");
exports.ToggleGroupContext = (0, react_1.createContext)(null);
/* State context */
_a = (0, helpers_1.createStrictContext)({
    name: "ToggleGroupContext",
    errorMessage: "<ToggleGroup.Item> needs to be wrapped within <ToggleGroup>",
}), exports.ToggleGroupProvider = _a.Provider, exports.useToggleGroupContext = _a.useContext;
//# sourceMappingURL=ToggleGroup.context.js.map