UNPKG

office-ui-fabric-react

Version:

Reusable React components for building experiences for Office 365.

19 lines 1.06 kB
import * as tslib_1 from "tslib"; import * as React from 'react'; import { BaseComponent } from 'office-ui-fabric-react/lib/Utilities'; import { DefaultButton } from 'office-ui-fabric-react/lib/Button'; import { TooltipHost } from 'office-ui-fabric-react/lib/Tooltip'; var TooltipInteractiveExample = /** @class */ (function (_super) { tslib_1.__extends(TooltipInteractiveExample, _super); function TooltipInteractiveExample() { return _super !== null && _super.apply(this, arguments) || this; } TooltipInteractiveExample.prototype.render = function () { return (React.createElement("div", null, React.createElement(TooltipHost, { content: "This is the tooltip", id: "myID", calloutProps: { gapSpace: 0 }, closeDelay: 500 }, React.createElement(DefaultButton, { "aria-describedby": "myID" }, "Interact with my tooltip")))); }; return TooltipInteractiveExample; }(BaseComponent)); export { TooltipInteractiveExample }; //# sourceMappingURL=Tooltip.Interactive.Example.js.map