You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
489 B
21 lines
489 B
import * as React from 'react';
|
|
import TableContext from '../context/TableContext';
|
|
import Cell from './Cell';
|
|
import Row from './Row';
|
|
|
|
function Footer(_ref) {
|
|
var children = _ref.children;
|
|
|
|
var _React$useContext = React.useContext(TableContext),
|
|
prefixCls = _React$useContext.prefixCls;
|
|
|
|
return React.createElement("tfoot", {
|
|
className: "".concat(prefixCls, "-summary")
|
|
}, children);
|
|
}
|
|
|
|
export default Footer;
|
|
export var FooterComponents = {
|
|
Cell: Cell,
|
|
Row: Row
|
|
}; |