import "react";
import { SummaryContext } from "../summary/context.js";
import { getOriginData } from "../utils.js";
import { jsx } from "../../../../../../../@emotion_react@11.10.4_3toe27fv7etiytxb5kxc7fxaw4/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js";
function Tfoot(props) {
  var summary = props.summary, data = props.data, prefixCls = props.prefixCls, columns = props.columns, stickyOffsets = props.stickyOffsets, stickyClassNames = props.stickyClassNames;
  return /* @__PURE__ */ jsx("tfoot", {
    className: prefixCls + "-tfoot",
    children: /* @__PURE__ */ jsx(SummaryContext.Provider, {
      value: {
        columns,
        stickyOffsets,
        stickyClassNames,
        prefixCls
      },
      children: summary(getOriginData(data))
    })
  });
}
export {
  Tfoot as default
};
//# sourceMappingURL=index.js.map
