UNPKG

1.12 kBJavaScriptView Raw
1import _classCallCheck from 'babel-runtime/helpers/classCallCheck';
2import _possibleConstructorReturn from 'babel-runtime/helpers/possibleConstructorReturn';
3import _inherits from 'babel-runtime/helpers/inherits';
4
5var _class, _temp;
6
7import React from 'react';
8import PropTypes from 'prop-types';
9
10/* istanbul ignore file */
11/**
12 * Table.GroupFooter
13 * @order 3
14 **/
15var ListFooter = (_temp = _class = function (_React$Component) {
16 _inherits(ListFooter, _React$Component);
17
18 function ListFooter() {
19 _classCallCheck(this, ListFooter);
20
21 return _possibleConstructorReturn(this, _React$Component.apply(this, arguments));
22 }
23
24 ListFooter.prototype.render = function render() {
25 return null;
26 };
27
28 return ListFooter;
29}(React.Component), _class.propTypes = {
30 /**
31 * 行渲染的逻辑
32 */
33 cell: PropTypes.oneOfType([PropTypes.element, PropTypes.node, PropTypes.func])
34}, _class.defaultProps = {
35 cell: function cell() {
36 return '';
37 }
38}, _class._typeMark = 'listFooter', _temp);
39ListFooter.displayName = 'ListFooter';
40export { ListFooter as default };
\No newline at end of file