define(["require", "exports", "react", "@fluentui/react-next/lib/compat/Button", "@fluentui/react-next/lib/TeachingBubble", "@uifabric/react-hooks"], function (require, exports, React, Button_1, TeachingBubble_1, react_hooks_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var examplePrimaryButtonProps = {
        children: 'Try it out',
    };
    exports.TeachingBubbleCondensedExample = function () {
        var _a = react_hooks_1.useBoolean(false), teachingBubbleVisible = _a[0], toggleTeachingBubbleVisible = _a[1].toggle;
        var exampleSecondaryButtonProps = React.useMemo(function () { return ({
            children: 'Maybe later',
            onClick: toggleTeachingBubbleVisible,
        }); }, [toggleTeachingBubbleVisible]);
        return (React.createElement("div", null,
            React.createElement(Button_1.DefaultButton, { id: "targetButton", onClick: toggleTeachingBubbleVisible, text: teachingBubbleVisible ? 'Hide TeachingBubble' : 'Show TeachingBubble' }),
            teachingBubbleVisible && (React.createElement(TeachingBubble_1.TeachingBubble, { target: "#targetButton", hasCondensedHeadline: true, primaryButtonProps: examplePrimaryButtonProps, secondaryButtonProps: exampleSecondaryButtonProps, onDismiss: toggleTeachingBubbleVisible, headline: "Discover what\u2019s trending around you" }, "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Facere, nulla, ipsum? Molestiae quis aliquam magni harum non?"))));
    };
});
//# sourceMappingURL=TeachingBubble.Condensed.Example.js.map