1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.PivotItem = void 0;
|
4 | var tslib_1 = require("tslib");
|
5 | var React = require("react");
|
6 | var utilities_1 = require("@fluentui/utilities");
|
7 | var COMPONENT_NAME = 'PivotItem';
|
8 | var PivotItem = (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));
|
23 | exports.PivotItem = PivotItem;
|
24 |
|
\ | No newline at end of file |