From 3cfc40529797b7ec326b572d822d88f3bfc3c59a Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Fri, 8 Nov 2024 20:22:10 +0000 Subject: [PATCH] fix: withstorybook export --- packages/react-native/src/metro/withStorybook.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/react-native/src/metro/withStorybook.ts b/packages/react-native/src/metro/withStorybook.ts index dda511c402..bd6cdaca94 100644 --- a/packages/react-native/src/metro/withStorybook.ts +++ b/packages/react-native/src/metro/withStorybook.ts @@ -74,7 +74,7 @@ type ResolveRequestFunction = (context: any, moduleName: string, platform: strin * onDisabledRemoveStorybook: true, * }); */ -function withStorybook( +export function withStorybook( config: MetroConfig, options: WithStorybookOptions = { enabled: true, @@ -182,5 +182,3 @@ function withStorybook( }, }; } - -export = withStorybook;