Skip to content

Commit

Permalink
fix: withstorybook export
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw committed Nov 8, 2024
1 parent 27b2d9d commit 3cfc405
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/react-native/src/metro/withStorybook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -182,5 +182,3 @@ function withStorybook(
},
};
}

export = withStorybook;

0 comments on commit 3cfc405

Please sign in to comment.