import { createContext as ReactCreateContext } from "react";
import { createStrictContext } from "../utils/helpers/index.js";
export const ToggleGroupContext = ReactCreateContext(null);
/* State context */
export const { Provider: ToggleGroupProvider, useContext: useToggleGroupContext, } = createStrictContext({
    name: "ToggleGroupContext",
    errorMessage: "<ToggleGroup.Item> needs to be wrapped within <ToggleGroup>",
});
//# sourceMappingURL=ToggleGroup.context.js.map