office-ui-fabric-react
Version:
Reusable React components for building experiences for Microsoft 365.
22 lines • 1 kB
JavaScript
define(["require", "exports", "tslib", "react", "../../Utilities"], function (require, exports, tslib_1, React, Utilities_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var COMPONENT_NAME = 'PivotItem';
var PivotItem = /** @class */ (function (_super) {
tslib_1.__extends(PivotItem, _super);
function PivotItem(props) {
var _this = _super.call(this, props) || this;
Utilities_1.initializeComponentRef(_this);
Utilities_1.warnDeprecations(COMPONENT_NAME, props, {
linkText: 'headerText',
});
return _this;
}
PivotItem.prototype.render = function () {
return React.createElement("div", tslib_1.__assign({}, Utilities_1.getNativeProps(this.props, Utilities_1.divProperties)), this.props.children);
};
return PivotItem;
}(React.Component));
exports.PivotItem = PivotItem;
});
//# sourceMappingURL=PivotItem.js.map