UNPKG

831 BJavaScriptView Raw
1import { __assign, __extends } from "tslib";
2import * as React from 'react';
3import { getNativeProps, divProperties, initializeComponentRef, warnDeprecations } from '../../Utilities';
4var COMPONENT_NAME = 'PivotItem';
5var PivotItem = /** @class */ (function (_super) {
6 __extends(PivotItem, _super);
7 function PivotItem(props) {
8 var _this = _super.call(this, props) || this;
9 initializeComponentRef(_this);
10 warnDeprecations(COMPONENT_NAME, props, {
11 linkText: 'headerText',
12 });
13 return _this;
14 }
15 PivotItem.prototype.render = function () {
16 return React.createElement("div", __assign({}, getNativeProps(this.props, divProperties)), this.props.children);
17 };
18 return PivotItem;
19}(React.Component));
20export { PivotItem };
21//# sourceMappingURL=PivotItem.js.map
\No newline at end of file