Files
starface-outlook-sync-addin/node_modules/@fluentui/react/lib-amd/components/Pivot/PivotItem.js
T
Stefan Hacker 37ad745546 first commit
2026-04-03 09:38:48 +02:00

23 lines
1.0 KiB
JavaScript

define(["require", "exports", "tslib", "react", "@fluentui/utilities"], function (require, exports, tslib_1, React, utilities_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PivotItem = void 0;
var COMPONENT_NAME = 'PivotItem';
var PivotItem = /** @class */ (function (_super) {
tslib_1.__extends(PivotItem, _super);
function PivotItem(props) {
var _this = _super.call(this, props) || this;
(0, utilities_1.initializeComponentRef)(_this);
(0, utilities_1.warnDeprecations)(COMPONENT_NAME, props, {
linkText: 'headerText',
});
return _this;
}
PivotItem.prototype.render = function () {
return React.createElement("div", tslib_1.__assign({}, (0, utilities_1.getNativeProps)(this.props, utilities_1.divProperties)), this.props.children);
};
return PivotItem;
}(React.Component));
exports.PivotItem = PivotItem;
});
//# sourceMappingURL=PivotItem.js.map