const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
require("./index.less");
//#region src/components/table/Summary/index.tsx
const Summary = ({ summary }) => {
	return (0, react.useMemo)(() => {
		return !!summary;
	}, [summary]) ? /* @__PURE__ */ react.default.createElement("div", { className: "materials-grid-summary" }, summary()) : null;
};
//#endregion
exports.default = Summary;
