UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

41 lines 3.96 kB
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 { TeachingBubbleBasicExample } from './examples/TeachingBubble.Basic.Example'; import { TeachingBubbleCondensedExample } from './examples/TeachingBubble.Condensed.Example'; import { TeachingBubbleIllustrationExample } from './examples/TeachingBubble.Illustration.Example'; import { TeachingBubbleWideIllustrationExample } from './examples/TeachingBubble.WideIllustration.Example'; import { TeachingBubbleSmallHeadlineExample } from './examples/TeachingBubble.SmallHeadline.Example'; import { ComponentStatus } from '../../demo/ComponentStatus/ComponentStatus'; import { TeachingBubbleStatus } from './TeachingBubble.checklist'; var TeachingBubbleBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/TeachingBubble/examples/TeachingBubble.Basic.Example.tsx'); var TeachingBubbleCondensedExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/TeachingBubble/examples/TeachingBubble.Condensed.Example.tsx'); var TeachingBubbleIllustrationExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/TeachingBubble/examples/TeachingBubble.Basic.Example.tsx'); var TeachingBubbleWideIllustrationExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/TeachingBubble/examples/TeachingBubble.WideIllustration.Example.tsx'); var TeachingBubbleSmallHeadlineExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/TeachingBubble/examples/TeachingBubble.SmallHeadline.Example.tsx'); var TeachingBubblePage = /** @class */ (function (_super) { tslib_1.__extends(TeachingBubblePage, _super); function TeachingBubblePage() { return _super !== null && _super.apply(this, arguments) || this; } TeachingBubblePage.prototype.render = function () { return (React.createElement(ComponentPage, { title: 'TeachingBubble', componentName: 'TeachingBubbleExample', exampleCards: React.createElement(LayerHost, null, React.createElement(ExampleCard, { title: 'TeachingBubble', code: TeachingBubbleBasicExampleCode }, React.createElement(TeachingBubbleBasicExample, null)), React.createElement(ExampleCard, { title: 'TeachingBubble Condensed', code: TeachingBubbleCondensedExampleCode }, React.createElement(TeachingBubbleCondensedExample, null)), React.createElement(ExampleCard, { title: 'TeachingBubble with Illustration', code: TeachingBubbleIllustrationExampleCode }, React.createElement(TeachingBubbleIllustrationExample, null)), React.createElement(ExampleCard, { title: 'TeachingBubble wide with Illustration', code: TeachingBubbleWideIllustrationExampleCode }, React.createElement(TeachingBubbleWideIllustrationExample, null)), React.createElement(ExampleCard, { title: 'TeachingBubble with small headline', code: TeachingBubbleSmallHeadlineExampleCode }, React.createElement(TeachingBubbleSmallHeadlineExample, null))), propertiesTables: React.createElement(PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/TeachingBubble/TeachingBubble.types.ts') ] }), overview: React.createElement("div", null, React.createElement("p", null, "TeachingBubbles allow the user to display important hints on their web pages with a callout box.")), isHeaderVisible: this.props.isHeaderVisible, componentStatus: React.createElement(ComponentStatus, tslib_1.__assign({}, TeachingBubbleStatus)) })); }; return TeachingBubblePage; }(React.Component)); export { TeachingBubblePage }; //# sourceMappingURL=TeachingBubblePage.js.map