= forwardRef<
HTMLTableCellElement,
TableCellProps
>(
(
{
className,
removePadding = false,
isLoading = false,
children,
columnWidth,
align = "left",
style,
...rest
},
ref,
) => {
const computedStyle: CSSProperties = { ...style };
if (columnWidth) {
computedStyle.width = columnWidth;
}
return (
|
{isLoading ? (
) : (
children
)}
|
);
},
);
export default TableCell;