diff --git a/examples/expo-example/.storybook/preview.tsx b/examples/expo-example/.storybook/preview.tsx
index 0ed21ed447..4fcbefda0e 100644
--- a/examples/expo-example/.storybook/preview.tsx
+++ b/examples/expo-example/.storybook/preview.tsx
@@ -19,6 +19,8 @@ const preview: Preview = {
date: /Date$/,
},
},
+ hideFullScreenButton: false,
+ noSafeArea: false,
my_param: 'anything',
backgrounds: {
default: Appearance.getColorScheme() === 'dark' ? 'dark' : 'plain',
diff --git a/packages/react-native-ui/src/Layout.tsx b/packages/react-native-ui/src/Layout.tsx
index fae4a70e04..5d097917e6 100644
--- a/packages/react-native-ui/src/Layout.tsx
+++ b/packages/react-native-ui/src/Layout.tsx
@@ -146,25 +146,27 @@ export const Layout = ({
{children}
- setUiHidden((prev) => !prev)}
- >
- {uiHidden ? (
-
- ) : (
-
- )}
-
+ {story.parameters.hideFullScreenButton ? null : (
+ setUiHidden((prev) => !prev)}
+ >
+ {uiHidden ? (
+
+ ) : (
+
+ )}
+
+ )}