bananas-commerce-admin
Version:
What's this, an admin for apes?
7 lines • 565 B
JavaScript
import React from "react";
import { TableCell, TableFooter, Typography, } from "@mui/material";
export const TableSummary = ({ cellProps, children, columns, rowProps, }) => (React.createElement(TableFooter, { ...rowProps, sx: { cursor: "pointer", ...rowProps?.sx } },
React.createElement(TableCell, { colSpan: columns - 1 }),
React.createElement(TableCell, { ...cellProps, align: cellProps?.align ?? "right" },
React.createElement(Typography, { sx: { width: "max-content" }, variant: "body2" }, children))));
//# sourceMappingURL=TableSummary.js.map