"use client";
import { jsx } from 'react/jsx-runtime';
import { createContext, useContext } from 'react';
import { Provider } from '../../node_modules/.pnpm/@radix-ui_react-tooltip@1.2.7_@types_react-dom@19.1.7_@types_react@19.1.9__@types_react@19.1._dc3knlq5xr3bsp42ltsj4iesx4/node_modules/@radix-ui/react-tooltip/dist/index.js';

const TooltipProviderContext = createContext(undefined);
const useTooltipProvider = () => {
    return useContext(TooltipProviderContext);
};
const TooltipProvider = ({ delayDuration = 200, skipDelayDuration = 200, ...props }) => {
    return (jsx(TooltipProviderContext.Provider, { value: { delayDuration, skipDelayDuration, ...props }, children: jsx(Provider, { delayDuration: delayDuration, skipDelayDuration: skipDelayDuration, ...props }) }));
};

export { TooltipProvider, useTooltipProvider };
//# sourceMappingURL=tooltip-provider.js.map
