UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

25 lines 2.48 kB
define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/Layer", "@uifabric/example-app-base", "./examples/OverflowSet.Custom.Example", "./examples/OverflowSet.Basic.Example"], function (require, exports, tslib_1, React, Layer_1, example_app_base_1, OverflowSet_Custom_Example_1, OverflowSet_Basic_Example_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var OverflowSetCustomExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/OverflowSet/examples/OverflowSet.Custom.Example.tsx'); var OverflowSetBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/OverflowSet/examples/OverflowSet.Basic.Example.tsx'); var OverflowSetPage = (function (_super) { tslib_1.__extends(OverflowSetPage, _super); function OverflowSetPage() { return _super !== null && _super.apply(this, arguments) || this; } OverflowSetPage.prototype.render = function () { return (React.createElement(example_app_base_1.ComponentPage, { title: 'OverflowSet', componentName: 'OverflowSetExample', overview: React.createElement("div", null, React.createElement("p", null, "The OverflowSet is a flexible container component that is useful for displaying a primary set of content with additional content in an overflow callout. Note that the example below is only an example of how to render the component, not a specific use case.")), exampleCards: React.createElement(Layer_1.LayerHost, null, React.createElement(example_app_base_1.ExampleCard, { title: 'OverflowSet Basic Example', code: OverflowSetBasicExampleCode }, React.createElement(OverflowSet_Basic_Example_1.OverflowSetBasicExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'OverflowSet Custom Example', code: OverflowSetCustomExampleCode }, React.createElement(OverflowSet_Custom_Example_1.OverflowSetCustomExample, null))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/OverflowSet/OverflowSet.Props.ts') ] }) })); }; return OverflowSetPage; }(React.Component)); exports.OverflowSetPage = OverflowSetPage; }); //# sourceMappingURL=OverflowSetPage.js.map