import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { ConnectTooltip, ConnectTooltipProvider } from "./tooltip.js";
const meta = {
    title: "Connect/Components/Tooltip",
    component: ConnectTooltip,
};
export default meta;
export const Default = {
    render: function Wrapper(args) {
        const tooltipContent = (_jsxs("div", { children: [_jsx("div", { children: "tooltip content" }), _jsx("button", { onClick: () => alert("you can click me"), children: "click me" })] }));
        return (_jsx(ConnectTooltipProvider, { children: _jsx(ConnectTooltip, { ...args, content: tooltipContent, children: _jsx("a", { id: "tooltip", children: "hover me" }) }) }));
    },
};
//# sourceMappingURL=tooltip.stories.js.map