@uifabric/experiments
Version:
Experimental React components for building experiences for Office 365.
29 lines • 2.23 kB
JavaScript
import * as tslib_1 from "tslib";
import * as React from 'react';
import { ExampleCard, ComponentPage, PropertiesTableSet } from '@uifabric/example-app-base';
import { SeparatorBasicExample } from './examples/Separator.Basic.Example';
var SeparatorBasicExampleCode = require('!raw-loader!@uifabric/experiments/src/components/Separator/examples/Separator.Basic.Example.tsx');
import { SeparatorThemingExample } from './examples/Separator.Theming.Example';
var SeparatorThemingExampleCode = require('!raw-loader!@uifabric/experiments/src/components/Separator/examples/Separator.Theming.Example.tsx');
var SeparatorPage = /** @class */ (function (_super) {
tslib_1.__extends(SeparatorPage, _super);
function SeparatorPage() {
return _super !== null && _super.apply(this, arguments) || this;
}
SeparatorPage.prototype.render = function () {
return (React.createElement(ComponentPage, { title: "Separator", componentName: "Separator", exampleCards: React.createElement("div", null,
React.createElement(ExampleCard, { title: "Basic Separator with Text", isOptIn: true, code: SeparatorBasicExampleCode },
React.createElement(SeparatorBasicExample, null)),
React.createElement(ExampleCard, { title: "Basic Themed Separator with Text", isOptIn: true, code: SeparatorThemingExampleCode },
React.createElement(SeparatorThemingExample, null))), propertiesTables: React.createElement(PropertiesTableSet, { sources: [require('!raw-loader!@uifabric/experiments/src/components/Separator/Separator.types.ts')] }), overview: React.createElement("div", null), bestPractices: React.createElement("div", null), dos: React.createElement("div", null,
React.createElement("ul", null,
React.createElement("li", null))), donts:
// @todo: fill in description
React.createElement("div", null,
React.createElement("ul", null,
React.createElement("li", null))), isHeaderVisible: this.props.isHeaderVisible }));
};
return SeparatorPage;
}(React.Component));
export { SeparatorPage };
//# sourceMappingURL=SeparatorPage.js.map