text: define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/Nav", "./Nav.Basic.Example.scss"], function (require, exports, tslib_1, React, Nav_1) {
      "use strict";
      Object.defineProperty(exports, "__esModule", { value: true });
      var NavBasicExample = /** @class */ (function (_super) {
          tslib_1.__extends(NavBasicExample, _super);
          function NavBasicExample() {
              var _this = _super !== null && _super.apply(this, arguments) || this;
              _this.onLinkClick = function (ev, item) {
                  if (item && item.name === 'News') {
                      alert('News link clicked');
                  }
              };
              return _this;
          }
          NavBasicExample.prototype.render = function () {
              return (React.createElement("div", { className: "ms-NavExample-LeftPane" },
                  React.createElement(Nav_1.Nav, { groups: [
                          {
                              links: [
                                  {
                                      name: 'Home',
                                      url: 'http://example.com',
                                      links: [
                                          {
                                              name: 'Activity',
                                              url: 'http://msn.com',
                                              key: 'key1'
                                          },
                                          {
                                              name: 'MSN',
                                              url: 'http://msn.com',
                                              key: 'key2'
                                          }
                                      ],
                                      isExpanded: true
                                  },
                                  { name: 'Documents', url: 'http://example.com', key: 'key3', isExpanded: true },
                                  { name: 'Pages', url: 'http://msn.com', key: 'key4' },
                                  { name: 'Notebook', url: 'http://msn.com', key: 'key5' },
                                  { name: 'Communication and Media', url: 'http://msn.com', key: 'key6' },
                                  {
                                      name: 'News',
                                      url: 'http://cnn.com',
                                      icon: 'News',
                                      key: 'key8'
                                  }
                              ]
                          }
                      ], onLinkClick: this.onLinkClick, expandedStateText: 'expanded', collapsedStateText: 'collapsed', selectedKey: 'key3', expandButtonAriaLabel: 'Expand or collapse' })));
          };
          return NavBasicExample;
      }(React.Component));
      exports.NavBasicExample = NavBasicExample;
  });
  //# sourceMappingURL=Nav.Basic.Example.js.map