UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

42 lines 2.28 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { CommandBarStatus } from './CommandBar.checklist'; import { CommandBarBasicExample } from './examples/CommandBar.Basic.Example'; import { CommandBarButtonAsExample } from './examples/CommandBar.ButtonAs.Example'; import { farItems, items, overflowItems } from './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: items, overflowItems: overflowItems, farItems: farItems }; export var 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: CommandBarStatus, examples: [ { title: 'CommandBar with overflowing menu items', code: CommandBarBasicExampleCode, view: React.createElement(CommandBarBasicExample, tslib_1.__assign({}, cmdBarParamsTextAndIcons)) }, { title: 'CommandBar custom buttons and overflow menu', code: CommandBarButtonAsExampleCode, view: React.createElement(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