MCPcopy Create free account
hub / github.com/microsoft/SandDance / TooltipBase1

Function TooltipBase1

docs/app/js/sanddance-app.js:42323–42331  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42321var TooltipBase = /** @class */ function(_super) {
42322 (0, _tslib.__extends)(TooltipBase1, _super);
42323 function TooltipBase1() {
42324 var _this = _super !== null && _super.apply(this, arguments) || this;
42325 _this._onRenderContent = function(props) {
42326 return _react.createElement("p", {
42327 className: _this._classNames.subText
42328 }, props.content);
42329 };
42330 return _this;
42331 }
42332 TooltipBase1.prototype.render = function() {
42333 var _a = this.props, className = _a.className, calloutProps = _a.calloutProps, directionalHint = _a.directionalHint, directionalHintForRTL = _a.directionalHintForRTL, styles = _a.styles, id = _a.id, maxWidth = _a.maxWidth, _b = _a.onRenderContent, onRenderContent = _b === void 0 ? this._onRenderContent : _b, targetElement = _a.targetElement, theme = _a.theme;
42334 this._classNames = getClassNames(styles, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected