mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
fixed #17290
This commit is contained in:
parent
543262295a
commit
657550118e
@ -100,13 +100,13 @@ const renderCol = (child: React.ReactElement<DescriptionsItemProps>, bordered: b
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<td
|
<td colSpan={span} className={classNames(`${prefixCls}-item`, className)}>
|
||||||
colSpan={span}
|
<span
|
||||||
className={classNames(`${prefixCls}-item`, className, {
|
className={classNames(`${prefixCls}-item-label`, {
|
||||||
[`${prefixCls}-item-no-label`]: !label,
|
[`${prefixCls}-item-no-label`]: !label,
|
||||||
})}
|
})}
|
||||||
>
|
key="label"
|
||||||
<span className={`${prefixCls}-item-label`} key="label">
|
>
|
||||||
{label}
|
{label}
|
||||||
</span>
|
</span>
|
||||||
<span className={`${prefixCls}-item-content`} key="content">
|
<span className={`${prefixCls}-item-content`} key="content">
|
||||||
|
Loading…
Reference in New Issue
Block a user