office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
35 lines • 3.26 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var Layer_1 = require("office-ui-fabric-react/lib/Layer");
var example_app_base_1 = require("@uifabric/example-app-base");
var OverflowSet_Custom_Example_1 = require("./examples/OverflowSet.Custom.Example");
var OverflowSet_Basic_Example_1 = require("./examples/OverflowSet.Basic.Example");
var OverflowSet_Vertical_Example_1 = require("./examples/OverflowSet.Vertical.Example");
var ComponentStatus_1 = require("../../demo/ComponentStatus/ComponentStatus");
var OverflowSet_checklist_1 = require("./OverflowSet.checklist");
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 OverflowSetVerticalExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/OverflowSet/examples/OverflowSet.Vertical.Example.tsx');
var OverflowSetPage = /** @class */ (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 Vertical Example', code: OverflowSetVerticalExampleCode },
React.createElement(OverflowSet_Vertical_Example_1.OverflowSetVerticalExample, 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.types.ts')
] }), componentStatus: React.createElement(ComponentStatus_1.ComponentStatus, tslib_1.__assign({}, OverflowSet_checklist_1.OverflowSetStatus)), isHeaderVisible: this.props.isHeaderVisible }));
};
return OverflowSetPage;
}(React.Component));
exports.OverflowSetPage = OverflowSetPage;
//# sourceMappingURL=OverflowSetPage.js.map
;