UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

44 lines 2.44 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = require("react"); var CommandBar_checklist_1 = require("./CommandBar.checklist"); var CommandBar_Basic_Example_1 = require("./examples/CommandBar.Basic.Example"); var CommandBar_ButtonAs_Example_1 = require("./examples/CommandBar.ButtonAs.Example"); var data_1 = require("./examples/data"); var CommandBarBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/CommandBar/examples/CommandBar.Basic.Example.tsx'); var CommandBarButtonAsExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/CommandBar/examples/CommandBar.ButtonAs.Example.tsx'); var cmdBarParamsTextAndIcons = { items: data_1.items, overflowItems: data_1.overflowItems, farItems: data_1.farItems }; exports.CommandBarPageProps = { title: 'CommandBar', componentName: 'CommandBar', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/CommandBar', componentStatus: CommandBar_checklist_1.CommandBarStatus, examples: [ { title: 'CommandBar with overflowing menu items', code: CommandBarBasicExampleCode, view: React.createElement(CommandBar_Basic_Example_1.CommandBarBasicExample, tslib_1.__assign({}, cmdBarParamsTextAndIcons)) }, { title: 'CommandBar custom buttons and overflow menu', code: CommandBarButtonAsExampleCode, view: React.createElement(CommandBar_ButtonAs_Example_1.CommandBarButtonAsExample, tslib_1.__assign({}, cmdBarParamsTextAndIcons)) } ], propertiesTablesSources: [ require('!raw-loader!office-ui-fabric-react/src/components/CommandBar/CommandBar.types.ts'), require('!raw-loader!office-ui-fabric-react/src/components/ContextualMenu/ContextualMenu.types.ts') ], overview: require('!raw-loader!office-ui-fabric-react/src/components/CommandBar/docs/CommandBarOverview.md'), bestPractices: '', dos: require('!raw-loader!office-ui-fabric-react/src/components/CommandBar/docs/CommandBarDos.md'), donts: require('!raw-loader!office-ui-fabric-react/src/components/CommandBar/docs/CommandBarDonts.md'), isHeaderVisible: true, isFeedbackVisible: true }; //# sourceMappingURL=CommandBar.doc.js.map