import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
const SchemaToolbarContext = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)({});
SchemaToolbarContext.displayName = 'SchemaToolbarContext';
const SchemaToolbarProvider = (props)=>{
    const { children, ...others } = props;
    return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(SchemaToolbarContext.Provider, {
        value: others,
        children: children
    });
};
function useSchemaToolbar() {
    return (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(SchemaToolbarContext);
}
export { SchemaToolbarContext, SchemaToolbarProvider, useSchemaToolbar };
