1 | import { __assign, __extends } from "tslib";
|
2 | import * as React from 'react';
|
3 | import { getNativeProps, divProperties, initializeComponentRef, warnDeprecations } from '../../Utilities';
|
4 | var COMPONENT_NAME = 'PivotItem';
|
5 | var PivotItem = (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));
|
20 | export { PivotItem };
|
21 |
|
\ | No newline at end of file |