style: distribution info table word wrap
This commit is contained in:
@@ -10,6 +10,7 @@ export interface ColumnProps {
|
||||
title: string;
|
||||
key: string;
|
||||
width?: string | number;
|
||||
style?: React.CSSProperties;
|
||||
render?: (data: {
|
||||
dataIndex: string;
|
||||
dataList?: any[];
|
||||
|
||||
@@ -52,7 +52,7 @@ const TableCell: React.FC<TableCellProps> = (props: TableCellProps) => {
|
||||
dataList: dataList
|
||||
})}
|
||||
>
|
||||
<span className="cell-span">
|
||||
<span className="cell-span" style={column.style}>
|
||||
{column.render
|
||||
? column.render({
|
||||
dataIndex: column.key,
|
||||
|
||||
Reference in New Issue
Block a user