office-ui-fabric-react
Version:
Reusable React components for building experiences for Office 365.
27 lines • 2.57 kB
JavaScript
define(["require", "exports", "tslib", "react", "office-ui-fabric-react/lib/Link", "office-ui-fabric-react/lib/Layer", "@uifabric/example-app-base", "./examples/HoverCard.Basic.Example", "./examples/HoverCard.Target.Example", "./HoverCardPage.scss"], function (require, exports, tslib_1, React, Link_1, Layer_1, example_app_base_1, HoverCard_Basic_Example_1, HoverCard_Target_Example_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
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