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;