'use client';
import React, { createContext, useContext } from 'react';
const Context = /*#__PURE__*/ createContext({});
export const ConfigProvider = ({ children, config })=>{
    return /*#__PURE__*/ React.createElement(Context.Provider, {
        value: config
    }, children);
};
export const useConfig = ()=>useContext(Context);

//# sourceMappingURL=index.js.map