import React, { useMemo } from "react";
import "./index.less";
//#region src/components/table/Summary/index.tsx
const Summary = ({ summary }) => {
	return useMemo(() => {
		return !!summary;
	}, [summary]) ? /* @__PURE__ */ React.createElement("div", { className: "materials-grid-summary" }, summary()) : null;
};
//#endregion
export { Summary as default };
