UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

30 lines 3.72 kB
define(["require", "exports", "tslib", "react", "@uifabric/example-app-base", "./examples/Nav.Basic.Example", "./examples/Nav.FabricDemoApp.Example", "./examples/Nav.Nested.Example", "./examples/Nav.ByKeys.Example", "../../demo/ComponentStatus/ComponentStatus", "./Nav.checklist"], function (require, exports, tslib_1, React, example_app_base_1, Nav_Basic_Example_1, Nav_FabricDemoApp_Example_1, Nav_Nested_Example_1, Nav_ByKeys_Example_1, ComponentStatus_1, Nav_checklist_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var NavBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Nav/examples/Nav.Basic.Example.tsx'); var NavFabricDemoAppExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Nav/examples/Nav.FabricDemoApp.Example.tsx'); var NavNestedExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Nav/examples/Nav.Nested.Example.tsx'); var NavByKeysExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Nav/examples/Nav.ByKeys.Example.tsx'); var NavPage = /** @class */ (function (_super) { tslib_1.__extends(NavPage, _super); function NavPage() { return _super !== null && _super.apply(this, arguments) || this; } NavPage.prototype.render = function () { return (React.createElement(example_app_base_1.ComponentPage, { title: 'Nav', componentName: 'NavExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/Nav', exampleCards: React.createElement("div", null, React.createElement(example_app_base_1.ExampleCard, { title: 'Basic Nav bar with sample links', code: NavBasicExampleCode }, React.createElement(Nav_Basic_Example_1.NavBasicExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'Navigation menu used in this Fabric React demo app', code: NavFabricDemoAppExampleCode }, React.createElement(Nav_FabricDemoApp_Example_1.NavFabricDemoAppExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'Nested navigation menu (without group header)', code: NavNestedExampleCode }, React.createElement(Nav_Nested_Example_1.NavNestedExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'Nav bar of links each with unique keys and empty urls', code: NavByKeysExampleCode }, React.createElement(Nav_ByKeys_Example_1.NavByKeysExample, null))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/Nav/Nav.types.ts') ] }), overview: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Nav/docs/NavOverview.md')), bestPractices: React.createElement("div", null), dos: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Nav/docs/NavDos.md')), donts: React.createElement(example_app_base_1.PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Nav/docs/NavDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, Nav_checklist_1.NavStatus)) })); }; return NavPage; }(React.Component)); exports.NavPage = NavPage; }); //# sourceMappingURL=NavPage.js.map