define(["require", "exports", "react", "@fluentui/react/lib/Button", "@fluentui/react/lib/Tooltip", "@fluentui/react-hooks"], function (require, exports, React, Button_1, Tooltip_1, react_hooks_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.TooltipBasicExample = void 0;
    var calloutProps = { gapSpace: 0 };
    // The TooltipHost root uses display: inline by default.
    // If that's causing sizing issues or tooltip positioning issues, try overriding to inline-block.
    var hostStyles = { root: { display: 'inline-block' } };
    var TooltipBasicExample = function () {
        // Use useId() to ensure that the ID is unique on the page.
        // (It's also okay to use a plain string and manually ensure uniqueness.)
        var tooltipId = react_hooks_1.useId('tooltip');
        return (React.createElement("div", null,
            React.createElement(Tooltip_1.TooltipHost, { content: "This is the tooltip content", 
                // This id is used on the tooltip itself, not the host
                // (so an element with this id only exists when the tooltip is shown)
                id: tooltipId, calloutProps: calloutProps, styles: hostStyles },
                React.createElement(Button_1.DefaultButton, { "aria-describedby": tooltipId }, "Hover over me"))));
    };
    exports.TooltipBasicExample = TooltipBasicExample;
});
//# sourceMappingURL=Tooltip.Basic.Example.js.map