|
|
@ -22,7 +22,7 @@ const DescriptionList = ({ |
|
|
<div className={clsString} {...restProps}> |
|
|
<div className={clsString} {...restProps}> |
|
|
{title ? <div className={styles.title}>{title}</div> : null} |
|
|
{title ? <div className={styles.title}>{title}</div> : null} |
|
|
<Row gutter={gutter}> |
|
|
<Row gutter={gutter}> |
|
|
{React.Children.map(children, child => React.cloneElement(child, { column }))} |
|
|
{React.Children.map(children, child => child ? React.cloneElement(child, { column }) : child)} |
|
|
</Row> |
|
|
</Row> |
|
|
</div> |
|
|
</div> |
|
|
); |
|
|
); |
|
|
|