'use client';
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
import React, { createContext, use } from 'react';
export const GroupContext = /*#__PURE__*/ createContext(false);
export const GroupProvider = ({ children, withinGroup = true })=>{
    return /*#__PURE__*/ _jsxDEV(GroupContext, {
        value: withinGroup,
        children: children
    }, void 0, false, {
        fileName: "src/fields/Group/provider.tsx",
        lineNumber: 10,
        columnNumber: 10
    }, this);
};
export const useGroup = ()=>use(GroupContext);

//# sourceMappingURL=provider.js.map