From a8737067e7bd1161ae41a2d7a52246f043e14c69 Mon Sep 17 00:00:00 2001 From: Archimedes Trajano Date: Tue, 15 Oct 2024 23:33:36 -0400 Subject: [PATCH] Add core config This is needed to disable telemetry --- packages/react-native/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-native/src/index.ts b/packages/react-native/src/index.ts index 9f6b6e2d91..2136ec8684 100644 --- a/packages/react-native/src/index.ts +++ b/packages/react-native/src/index.ts @@ -1,4 +1,4 @@ -import type { StorybookConfig as StorybookConfigBase } from '@storybook/core/types'; +import type { CoreConfig, StorybookConfig as StorybookConfigBase } from '@storybook/core/types'; import type { ReactNativeOptions } from './Start'; export { darkTheme, theme, type Theme } from '@storybook/react-native-theming'; @@ -8,4 +8,5 @@ export interface StorybookConfig { stories: StorybookConfigBase['stories']; addons: string[]; reactNative?: ReactNativeOptions; + core?: CoreConfig; }