UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

31 lines 3.21 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { ExampleCard, ComponentPage, PropertiesTableSet, PageMarkdown } from '@uifabric/example-app-base'; import { ComponentStatus } from '../../demo/ComponentStatus/ComponentStatus'; import { ActivityItemStatus } from './ActivityItem.checklist'; import { ActivityItemBasicExample } from './examples/ActivityItem.Basic.Example'; import { ActivityItemPersonaExample } from './examples/ActivityItem.Persona.Example'; import { ActivityItemCompactExample } from './examples/ActivityItem.Compact.Example'; var ActivityItemBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ActivityItem/examples/ActivityItem.Basic.Example.tsx'); var ActivityItemPersonaExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ActivityItem/examples/ActivityItem.Persona.Example.tsx'); var ActivityItemCompactExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/ActivityItem/examples/ActivityItem.Compact.Example.tsx'); var ActivityItemPage = /** @class */ (function (_super) { tslib_1.__extends(ActivityItemPage, _super); function ActivityItemPage() { return _super !== null && _super.apply(this, arguments) || this; } ActivityItemPage.prototype.render = function () { return (React.createElement(ComponentPage, { title: 'ActivityItem', componentName: 'ActivityItem', componentUrl: 'https://github.com/OfficeDev/office-ui-fabric-react/tree/master/packages/office-ui-fabric-react/src/components/ActivityItem', exampleCards: React.createElement("div", null, React.createElement(ExampleCard, { title: 'Activity Items with Icons', code: ActivityItemBasicExampleCode }, React.createElement(ActivityItemBasicExample, null)), React.createElement(ExampleCard, { title: 'Activity Items with Personas', code: ActivityItemPersonaExampleCode }, React.createElement(ActivityItemPersonaExample, null)), React.createElement(ExampleCard, { title: 'Compact Activity Items', code: ActivityItemCompactExampleCode }, React.createElement(ActivityItemCompactExample, null))), propertiesTables: React.createElement(PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/ActivityItem/ActivityItem.types.ts') ] }), overview: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ActivityItem/docs/ActivityItemOverview.md')), bestPractices: React.createElement("div", null), dos: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ActivityItem/docs/ActivityItemDos.md')), donts: React.createElement(PageMarkdown, null, require('!raw-loader!office-ui-fabric-react/src/components/ActivityItem/docs/ActivityItemDonts.md')), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus, tslib_1.__assign({}, ActivityItemStatus)) })); }; return ActivityItemPage; }(React.Component)); export { ActivityItemPage }; //# sourceMappingURL=ActivityItemPage.js.map