From 6a63aaeec172c5119a7b03d82563153ebe2fd094 Mon Sep 17 00:00:00 2001 From: qijizh Date: Fri, 28 Jul 2023 09:48:47 +0800 Subject: [PATCH] fix(list): behavior match description type (#2394) (#2396) --- src/list/ListItemMeta.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list/ListItemMeta.tsx b/src/list/ListItemMeta.tsx index 808f656a85..41cd2a809d 100644 --- a/src/list/ListItemMeta.tsx +++ b/src/list/ListItemMeta.tsx @@ -28,7 +28,7 @@ const ListItemMeta = forwardRef((props, ref)

{title}

-

{description}

+ {typeof description === 'string' ?

{description}

: description}