@fluentui/react
Version:
Reusable React components for building web experiences.
23 lines • 1.05 kB
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