define(["require", "exports", "react", "@fluentui/react-next/lib/compat/Button", "@uifabric/react-hooks"], function (require, exports, React, Button_1, react_hooks_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.ContextualMenuPersistedExample = function () {
        var menuProps = react_hooks_1.useConst(function () { return ({
            shouldFocusOnMount: true,
            shouldFocusOnContainer: true,
            items: [
                { key: 'rename', text: 'Rename', onClick: function () { return console.log('Rename clicked'); } },
                { key: 'edit', text: 'Edit', onClick: function () { return console.log('Edit clicked'); } },
                { key: 'properties', text: 'Properties', onClick: function () { return console.log('Properties clicked'); } },
                { key: 'linkNoTarget', text: 'Link same window', href: 'http://bing.com' },
                { key: 'linkWithTarget', text: 'Link new window', href: 'http://bing.com', target: '_blank' },
                { key: 'disabled', text: 'Disabled item', disabled: true },
            ],
        }); });
        return React.createElement(Button_1.DefaultButton, { text: "Click for ContextualMenu", persistMenu: true, menuProps: menuProps });
    };
});
//# sourceMappingURL=ContextualMenu.Persisted.Example.js.map