office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
27 lines • 2.99 kB
JavaScript
import * as tslib_1 from "tslib";
import * as React from 'react';
import { ExampleCard, ComponentPage, PageMarkdown, PropertiesTableSet } from '@uifabric/example-app-base';
import { ProgressIndicatorBasicExample } from './examples/ProgressIndicator.Basic.Example';
import { ProgressIndicatorIndeterminateExample } from './examples/ProgressIndicator.Indeterminate.Example';
import { ComponentStatus } from '../../demo/ComponentStatus/ComponentStatus';
import { ProgressIndicatorStatus } from './ProgressIndicator.checklist';
var ProgressIndicatorBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ProgressIndicator/examples/ProgressIndicator.Basic.Example.tsx');
var ProgressIndicatorIndeterminateExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ProgressIndicator/examples/ProgressIndicator.Indeterminate.Example.tsx');
var ProgressIndicatorPage = /** @class */ (function (_super) {
tslib_1.__extends(ProgressIndicatorPage, _super);
function ProgressIndicatorPage() {
return _super !== null && _super.apply(this, arguments) || this;
}
ProgressIndicatorPage.prototype.render = function () {
return (React.createElement(ComponentPage, { title: 'ProgressIndicator', componentName: 'ProgressIndicatorExample', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/ProgressIndicator', exampleCards: React.createElement("div", null,
React.createElement(ExampleCard, { title: 'Default ProgressIndicator', code: ProgressIndicatorBasicExampleCode },
React.createElement(ProgressIndicatorBasicExample, null)),
React.createElement(ExampleCard, { title: 'Indeterminate ProgressIndicator', code: ProgressIndicatorIndeterminateExampleCode },
React.createElement(ProgressIndicatorIndeterminateExample, null))), propertiesTables: React.createElement(PropertiesTableSet, { sources: [
require('!raw-loader!office-ui-fabric-react/src/components/ProgressIndicator/ProgressIndicator.types.ts')
] }), overview: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ProgressIndicator/docs/ProgressIndicatorOverview.md')), bestPractices: React.createElement("div", null), dos: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ProgressIndicator/docs/ProgressIndicatorDos.md')), donts: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ProgressIndicator/docs/ProgressIndicatorDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus, tslib_1.__assign({}, ProgressIndicatorStatus)) }));
};
return ProgressIndicatorPage;
}(React.Component));
export { ProgressIndicatorPage };
//# sourceMappingURL=ProgressIndicatorPage.js.map