UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

37 lines (35 loc) 3.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var React = require("react"); var Link_1 = require("office-ui-fabric-react/lib/Link"); 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 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