UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

35 lines 1.65 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { Nav } from 'office-ui-fabric-react/lib/Nav'; var NavNestedExample = /** @class */ (function (_super) { tslib_1.__extends(NavNestedExample, _super); function NavNestedExample() { return _super !== null && _super.apply(this, arguments) || this; } NavNestedExample.prototype.render = function () { return (React.createElement(Nav, { groups: [{ links: [ { name: 'Parent link', url: 'http://example.com', links: [ { name: 'Child link', url: 'http://example.com' }, { name: 'Child link', url: 'http://example.com', links: [ { name: 'Child link', url: 'http://example.com' }, { name: 'Child link', url: 'http://example.com' } ] }, { name: 'Child link', url: 'http://example.com' } ] }, { name: 'Parent link', url: 'http://example.com', links: [ { name: 'Child link', url: 'http://example.com' }, ] } ] }] })); }; return NavNestedExample; }(React.Component)); export { NavNestedExample }; //# sourceMappingURL=Nav.Nested.Example.js.map