"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TeachingBubbleSmallHeadlineExample = void 0;
var React = require("react");
var Button_1 = require("@fluentui/react/lib-commonjs/Button");
var TeachingBubble_1 = require("@fluentui/react/lib-commonjs/TeachingBubble");
var react_hooks_1 = require("@fluentui/react-hooks");
var TeachingBubbleSmallHeadlineExample = function () {
    var _a = react_hooks_1.useBoolean(false), teachingBubbleVisible = _a[0], toggleTeachingBubbleVisible = _a[1].toggle;
    var examplePrimaryButtonProps = {
        children: 'Try it out',
        onClick: 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", primaryButtonProps: examplePrimaryButtonProps, hasSmallHeadline: true, onDismiss: toggleTeachingBubbleVisible, headline: "Discover what\u2019s trending around you", closeButtonAriaLabel: "Close" }, "Lorem ipsum dolor sit amet, consectetur adipisicing elit. Facere, nulla, ipsum? Molestiae quis aliquam magni harum non?"))));
};
exports.TeachingBubbleSmallHeadlineExample = TeachingBubbleSmallHeadlineExample;
//# sourceMappingURL=TeachingBubble.SmallHeadline.Example.js.map