UNPKG

937 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.PivotItem = void 0;
4var tslib_1 = require("tslib");
5var React = require("react");
6var utilities_1 = require("@fluentui/utilities");
7var COMPONENT_NAME = 'PivotItem';
8var PivotItem = /** @class */ (function (_super) {
9 tslib_1.__extends(PivotItem, _super);
10 function PivotItem(props) {
11 var _this = _super.call(this, props) || this;
12 utilities_1.initializeComponentRef(_this);
13 utilities_1.warnDeprecations(COMPONENT_NAME, props, {
14 linkText: 'headerText',
15 });
16 return _this;
17 }
18 PivotItem.prototype.render = function () {
19 return React.createElement("div", tslib_1.__assign({}, utilities_1.getNativeProps(this.props, utilities_1.divProperties)), this.props.children);
20 };
21 return PivotItem;
22}(React.Component));
23exports.PivotItem = PivotItem;
24//# sourceMappingURL=PivotItem.js.map
\No newline at end of file