UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

29 lines 3.15 kB
define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/Link", "office-ui-fabric-react/lib/Layer", "@uifabric/example-app-base", "./examples/TeachingBubble.Basic.Example", "./examples/TeachingBubble.Condensed.Example", "./examples/TeachingBubble.Illustration.Example"], function (require, exports, tslib_1, React, Link_1, Layer_1, example_app_base_1, TeachingBubble_Basic_Example_1, TeachingBubble_Condensed_Example_1, TeachingBubble_Illustration_Example_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); 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 TeachingBubblePage = (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))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [ require('!raw-loader!office-ui-fabric-react/src/components/TeachingBubble/TeachingBubble.Props.ts') ] }), overview: React.createElement("div", null, React.createElement(Link_1.Link, { target: '_blank', href: 'http://dev.office.com/fabric/components/TeachingBubble' }, "TeachingBubbles"), React.createElement("span", null, " allow the user to display important hints on their web pages with a callout box.")) })); }; return TeachingBubblePage; }(React.Component)); exports.TeachingBubblePage = TeachingBubblePage; }); //# sourceMappingURL=TeachingBubblePage.js.map