office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
33 lines • 2.96 kB
JavaScript
import * as tslib_1 from "tslib";
import * as React from 'react';
import { LayerHost } from 'office-ui-fabric-react/lib/Layer';
import { ExampleCard, ComponentPage, PropertiesTableSet } from '@uifabric/example-app-base';
import { OverflowSetCustomExample } from './examples/OverflowSet.Custom.Example';
import { OverflowSetBasicExample } from './examples/OverflowSet.Basic.Example';
import { OverflowSetVerticalExample } from './examples/OverflowSet.Vertical.Example';
import { ComponentStatus } from '../../demo/ComponentStatus/ComponentStatus';
import { OverflowSetStatus } from './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(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(LayerHost, null,
React.createElement(ExampleCard, { title: 'OverflowSet Basic Example', code: OverflowSetBasicExampleCode },
React.createElement(OverflowSetBasicExample, null)),
React.createElement(ExampleCard, { title: 'OverflowSet Vertical Example', code: OverflowSetVerticalExampleCode },
React.createElement(OverflowSetVerticalExample, null)),
React.createElement(ExampleCard, { title: 'OverflowSet Custom Example', code: OverflowSetCustomExampleCode },
React.createElement(OverflowSetCustomExample, null))), propertiesTables: React.createElement(PropertiesTableSet, { sources: [
require('!raw-loader!office-ui-fabric-react/src/components/OverflowSet/OverflowSet.types.ts')
] }), componentStatus: React.createElement(ComponentStatus, tslib_1.__assign({}, OverflowSetStatus)), isHeaderVisible: this.props.isHeaderVisible }));
};
return OverflowSetPage;
}(React.Component));
export { OverflowSetPage };
//# sourceMappingURL=OverflowSetPage.js.map