UNPKG

bananas-commerce-admin

Version:

What's this, an admin for apes?

13 lines 709 B
import React from "react"; import { Stack, TableHead as MuiTableHead, TableRow, Typography, } from "@mui/material"; export const TableHead = ({ children, icon, title, tableRowProps }) => (React.createElement(MuiTableHead, null, title != null && (React.createElement(Stack, { alignItems: "center", direction: "row", gap: 1, p: 2, pb: 0, sx: { color: "text.primary", wordSpacing: "6px", "& svg": { height: 20, width: 20 }, } }, icon, React.createElement(Typography, { fontWeight: 600, variant: "body1" }, title))), React.createElement(TableRow, { ...tableRowProps }, children))); export default TableHead; //# sourceMappingURL=TableHead.js.map