diff --git a/src/components/Banner.tsx b/src/components/Banner.tsx
index 5e343c5785..b93ba6df05 100644
--- a/src/components/Banner.tsx
+++ b/src/components/Banner.tsx
@@ -189,6 +189,35 @@ const Banner = ({
Animated.add(position, -1),
layout.height
);
+
+ const renderChildrenWithWrapper = () => {
+ if (typeof children === 'string') {
+ return (
+
+ {children}
+
+ );
+ }
+ return (
+
+ {children}
+
+ );
+ };
+
return (
) : null}
-
- {children}
-
+ {renderChildrenWithWrapper()}
{actions.map(({ label, ...others }, i) => (