diff --git a/platform/ui/src/components/TableCell/TableCell.jsx b/platform/ui/src/components/TableCell/TableCell.jsx index 30982abf3..75e99b2c4 100644 --- a/platform/ui/src/components/TableCell/TableCell.jsx +++ b/platform/ui/src/components/TableCell/TableCell.jsx @@ -2,17 +2,33 @@ import React from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; -const TableCell = ({ children, className, isTableHead, size, style }) => { - const sizeClasses = { - small: 'flex-0.3', - normal: 'flex-1', +const TableCell = ({ + children, + className, + isTableHead, + size, + align, + style, +}) => { + const classes = { + align: { + left: 'text-left', + center: 'text-center', + right: 'text-right', + justify: 'text-justify', + }, + size: { + small: 'flex-0.3', + normal: 'flex-1', + }, }; return (