office-ui-fabric-react
Version: 
Reusable React components for building experiences for Office 365.
33 lines • 2.52 kB
JavaScript
;
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 HoverCard_Basic_Example_1 = require("./examples/HoverCard.Basic.Example");
var HoverCard_Target_Example_1 = require("./examples/HoverCard.Target.Example");
require("./HoverCardPage.scss");
var HoverCardBasicExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/HoverCard/examples/HoverCard.Basic.Example.tsx');
var HoverCardTargetExampleCode = require('!raw-loader!office-ui-fabric-react/src/components/HoverCard/examples/HoverCard.Target.Example.tsx');
var HoverCardPage = (function (_super) {
    tslib_1.__extends(HoverCardPage, _super);
    function HoverCardPage() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    HoverCardPage.prototype.render = function () {
        return (React.createElement(example_app_base_1.ComponentPage, { title: 'HoverCard', componentName: 'HoverCardExample', exampleCards: React.createElement(Layer_1.LayerHost, null,
                React.createElement(example_app_base_1.ExampleCard, { title: 'HoverCard', code: HoverCardBasicExampleCode },
                    React.createElement(HoverCard_Basic_Example_1.HoverCardBasicExample, null)),
                React.createElement(example_app_base_1.ExampleCard, { title: 'HoverCard using Target and at right center', code: HoverCardTargetExampleCode },
                    React.createElement(HoverCard_Target_Example_1.HoverCardTargetExample, null))), propertiesTables: React.createElement(example_app_base_1.PropertiesTableSet, { sources: [
                    require('!raw-loader!office-ui-fabric-react/src/components/HoverCard/HoverCard.Props.ts'),
                    require('!raw-loader!office-ui-fabric-react/src/components/HoverCard/ExpandingCard.Props.ts')
                ] }), overview: React.createElement("div", null,
                React.createElement(Link_1.Link, { target: '_blank', href: 'http://dev.office.com/fabric/components/HoverCard' }, "HoverCards"),
                React.createElement("span", null, " supplement content associated with a specific data element.")) }));
    };
    return HoverCardPage;
}(React.Component));
exports.HoverCardPage = HoverCardPage;
//# sourceMappingURL=HoverCardPage.js.map