antd-mobile
Version:
基于 React 的移动设计规范实现
31 lines (25 loc) • 968 B
JavaScript
import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
import _createClass from 'babel-runtime/helpers/createClass';
import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
import _inherits from 'babel-runtime/helpers/inherits';
import React from 'react';
var Table = function (_React$Component) {
_inherits(Table, _React$Component);
function Table() {
_classCallCheck(this, Table);
return _possibleConstructorReturn(this, (Table.__proto__ || Object.getPrototypeOf(Table)).apply(this, arguments));
}
_createClass(Table, [{
key: 'componentDidMount',
value: function componentDidMount() {
console.warn('Table does not support react-native and will be removed in version 2.0');
}
}, {
key: 'render',
value: function render() {
return null;
}
}]);
return Table;
}(React.Component);
export default Table;