UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

43 lines 4.41 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = require("react"); var Layer_1 = require("office-ui-fabric-react/lib/Layer"); var example_app_base_1 = require("@uifabric/example-app-base"); var TeachingBubble_Basic_Example_1 = require("./examples/TeachingBubble.Basic.Example"); var TeachingBubble_Condensed_Example_1 = require("./examples/TeachingBubble.Condensed.Example"); var TeachingBubble_Illustration_Example_1 = require("./examples/TeachingBubble.Illustration.Example"); var TeachingBubble_WideIllustration_Example_1 = require("./examples/TeachingBubble.WideIllustration.Example"); var TeachingBubble_SmallHeadline_Example_1 = require("./examples/TeachingBubble.SmallHeadline.Example"); var ComponentStatus_1 = require("../../demo/ComponentStatus/ComponentStatus"); var TeachingBubble_checklist_1 = require("./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(example_app_base_1.ComponentPage, { title: 'TeachingBubble', componentName: 'TeachingBubbleExample', exampleCards: React.createElement(Layer_1.LayerHost, null, React.createElement(example_app_base_1.ExampleCard, { title: 'TeachingBubble', code: TeachingBubbleBasicExampleCode }, React.createElement(TeachingBubble_Basic_Example_1.TeachingBubbleBasicExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'TeachingBubble Condensed', code: TeachingBubbleCondensedExampleCode }, React.createElement(TeachingBubble_Condensed_Example_1.TeachingBubbleCondensedExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'TeachingBubble with Illustration', code: TeachingBubbleIllustrationExampleCode }, React.createElement(TeachingBubble_Illustration_Example_1.TeachingBubbleIllustrationExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'TeachingBubble wide with Illustration', code: TeachingBubbleWideIllustrationExampleCode }, React.createElement(TeachingBubble_WideIllustration_Example_1.TeachingBubbleWideIllustrationExample, null)), React.createElement(example_app_base_1.ExampleCard, { title: 'TeachingBubble with small headline', code: TeachingBubbleSmallHeadlineExampleCode }, React.createElement(TeachingBubble_SmallHeadline_Example_1.TeachingBubbleSmallHeadlineExample, null))), propertiesTables: React.createElement(example_app_base_1.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_1.ComponentStatus, tslib_1.__assign({}, TeachingBubble_checklist_1.TeachingBubbleStatus)) })); }; return TeachingBubblePage; }(React.Component)); exports.TeachingBubblePage = TeachingBubblePage; //# sourceMappingURL=TeachingBubblePage.js.map