diff --git a/package/src/components/Message/MessageSimple/utils/renderText.tsx b/package/src/components/Message/MessageSimple/utils/renderText.tsx
index 164afc2081..c3205e702e 100644
--- a/package/src/components/Message/MessageSimple/utils/renderText.tsx
+++ b/package/src/components/Message/MessageSimple/utils/renderText.tsx
@@ -327,7 +327,10 @@ export const ListOutput = ({ node, output, state, styles }: ListOutputProps) =>
if (item === null) {
return (
-
+
);
}
@@ -338,7 +341,10 @@ export const ListOutput = ({ node, output, state, styles }: ListOutputProps) =>
return (
-
+
{output(item, state)}
@@ -354,13 +360,13 @@ interface BulletProps extends TextProps {
}
const Bullet = ({ index, style }: BulletProps) => (
-
+
{index ? `${index}. ` : '\u2022 '}
);
-const ListRow = (props: PropsWithChildren) => (
- {props.children}
+const ListRow = ({ children, style }: PropsWithChildren) => (
+ {children}
);
const ListItem = ({ children, style }: PropsWithChildren) => (