import { TableCell } from "@material-ui/core"; import { TableCellProps } from "@material-ui/core/TableCell"; import { makeStyles } from "@saleor/macaw-ui"; import classNames from "classnames"; import React from "react"; import Avatar, { AvatarProps } from "./Avatar"; const useStyles = makeStyles( theme => ({ root: { "&:not(first-child)": { paddingLeft: 0, }, paddingRight: theme.spacing(3), width: "1%", }, }), { name: "TableCellAvatar" }, ); interface TableCellAvatarProps extends TableCellProps, Omit { className?: string; } const TableCellAvatar: React.FC = props => { const { className, ...rest } = props; const classes = useStyles(props); return ( ); }; export default TableCellAvatar;