office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
27 lines • 2.79 kB
JavaScript
import * as tslib_1 from "tslib";
import * as React from 'react';
import { ExampleCard, ComponentPage, PageMarkdown, PropertiesTableSet } from '@uifabric/example-app-base';
import { VerticalDividerBasicExample } from './examples/VerticalDivider.Basic.Example';
import { VerticalDividerCustomExample } from './examples/VerticalDivider.Custom.Example';
import { ComponentStatus } from '../../demo/ComponentStatus/ComponentStatus';
import { DividerStatus } from './Divider.checklist';
var VerticalDividerBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Divider/examples/VerticalDivider.Basic.Example.tsx');
var VerticalDividerCustomExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/Divider/examples/VerticalDivider.Custom.Example.tsx');
var DividerPage = /** @class */ (function (_super) {
tslib_1.__extends(DividerPage, _super);
function DividerPage() {
return _super !== null && _super.apply(this, arguments) || this;
}
DividerPage.prototype.render = function () {
return (React.createElement(ComponentPage, { title: 'Divider', componentName: 'DividerExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/Divider', exampleCards: React.createElement("div", null,
React.createElement(ExampleCard, { title: 'Vertical Divider', code: VerticalDividerBasicExampleCode },
React.createElement(VerticalDividerBasicExample, null)),
React.createElement(ExampleCard, { title: 'Custom Vertical Divider', code: VerticalDividerCustomExampleCode },
React.createElement(VerticalDividerCustomExample, null))), propertiesTables: React.createElement(PropertiesTableSet, { sources: [
require('!raw-loader!office-ui-fabric-react/src/components/Divider/VerticalDivider.types.ts')
] }), overview: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Divider/docs/DividerOverview.md')), bestPractices: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Divider/docs/DividerBestPractices.md')), dos: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Divider/docs/DividerDos.md')), donts: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/Divider/docs/DividerDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus, tslib_1.__assign({}, DividerStatus)) }));
};
return DividerPage;
}(React.Component));
export { DividerPage };
//# sourceMappingURL=DividerPage.js.map