Skip to content

Commit

Permalink
fix(list): behavior match description type (#2394) (#2396)
Browse files Browse the repository at this point in the history
  • Loading branch information
qijizh authored Jul 28, 2023
1 parent f6130b1 commit 6a63aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/list/ListItemMeta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const ListItemMeta = forwardRef<HTMLDivElement, ListItemMetaProps>((props, ref)
<div className={`${classPrefix}-list-item__meta-content`}>
<h3 className={`${classPrefix}-list-item__meta-title`}>{title}</h3>
<div className={`${classPrefix}-list-item__meta-description`}>
<p>{description}</p>
{typeof description === 'string' ? <p>{description}</p> : description}
</div>
</div>
</div>
Expand Down

0 comments on commit 6a63aae

Please sign in to comment.