diff --git a/actual_app_home.png b/actual_app_home.png deleted file mode 100644 index 39cffbf..0000000 Binary files a/actual_app_home.png and /dev/null differ diff --git a/actual_app_home_15sec.png b/actual_app_home_15sec.png deleted file mode 100644 index 39cffbf..0000000 Binary files a/actual_app_home_15sec.png and /dev/null differ diff --git a/coin_flip_heads.png b/coin_flip_heads.png deleted file mode 100644 index e279fea..0000000 Binary files a/coin_flip_heads.png and /dev/null differ diff --git a/my_feature.png b/my_feature.png deleted file mode 100644 index 7476667..0000000 Binary files a/my_feature.png and /dev/null differ diff --git a/packages/rn-storybook-auto-screenshots/src/StoryRenderer.tsx b/packages/rn-storybook-auto-screenshots/src/StoryRenderer.tsx index c45f540..233060c 100644 --- a/packages/rn-storybook-auto-screenshots/src/StoryRenderer.tsx +++ b/packages/rn-storybook-auto-screenshots/src/StoryRenderer.tsx @@ -1,5 +1,5 @@ import React, { useEffect, useState } from 'react'; -import { View, Text, StyleSheet, NativeModules, NativeEventEmitter } from 'react-native'; +import { View, Text, StyleSheet, NativeModules } from 'react-native'; import { storyNameToId } from './utils'; const { StorybookRegistry } = NativeModules; @@ -60,14 +60,6 @@ export function StoryRenderer({ storyName = 'MyFeature/Initial' }: StoryRenderer const [error, setError] = useState(null); const [loading, setLoading] = useState(true); - useEffect (() => { - const emitter = new NativeEventEmitter(NativeModules.StorybookRegistry); - const sub = emitter.addListener('loadStory', (name: string) => { - console.log('loadStory event received:', name); - }); - return () => sub.remove(); - }, []); - // Notify native after React's commit phase so the test thread can proceed to screenshot. useEffect(() => { if (!loading) { diff --git a/simple_text_view.png b/simple_text_view.png deleted file mode 100644 index a24d3b4..0000000 Binary files a/simple_text_view.png and /dev/null differ diff --git a/simple_text_view_latest.png b/simple_text_view_latest.png deleted file mode 100644 index a24d3b4..0000000 Binary files a/simple_text_view_latest.png and /dev/null differ diff --git a/switch_feature_enabled.png b/switch_feature_enabled.png deleted file mode 100644 index 06ada1c..0000000 Binary files a/switch_feature_enabled.png and /dev/null differ diff --git a/timer_paused.png b/timer_paused.png deleted file mode 100644 index e2954ca..0000000 Binary files a/timer_paused.png and /dev/null differ diff --git a/timer_paused_1000x1000.png b/timer_paused_1000x1000.png deleted file mode 100644 index 6adacf0..0000000 Binary files a/timer_paused_1000x1000.png and /dev/null differ diff --git a/timer_paused_600x500.png b/timer_paused_600x500.png deleted file mode 100644 index 6adacf0..0000000 Binary files a/timer_paused_600x500.png and /dev/null differ diff --git a/timer_paused_800x600.png b/timer_paused_800x600.png deleted file mode 100644 index 6adacf0..0000000 Binary files a/timer_paused_800x600.png and /dev/null differ diff --git a/timer_paused_at_most.png b/timer_paused_at_most.png deleted file mode 100644 index 239e0d5..0000000 Binary files a/timer_paused_at_most.png and /dev/null differ diff --git a/timer_paused_container_800x800.png b/timer_paused_container_800x800.png deleted file mode 100644 index 6adacf0..0000000 Binary files a/timer_paused_container_800x800.png and /dev/null differ diff --git a/timer_paused_final.png b/timer_paused_final.png deleted file mode 100644 index 239e0d5..0000000 Binary files a/timer_paused_final.png and /dev/null differ diff --git a/timer_paused_fixed.png b/timer_paused_fixed.png deleted file mode 100644 index d4cc8e0..0000000 Binary files a/timer_paused_fixed.png and /dev/null differ diff --git a/timer_paused_full.png b/timer_paused_full.png deleted file mode 100644 index 42de6ab..0000000 Binary files a/timer_paused_full.png and /dev/null differ diff --git a/timer_paused_latest.png b/timer_paused_latest.png deleted file mode 100644 index d4cc8e0..0000000 Binary files a/timer_paused_latest.png and /dev/null differ diff --git a/timer_paused_manual_layout.png b/timer_paused_manual_layout.png deleted file mode 100644 index d4cc8e0..0000000 Binary files a/timer_paused_manual_layout.png and /dev/null differ diff --git a/timer_paused_match_parent.png b/timer_paused_match_parent.png deleted file mode 100644 index 6adacf0..0000000 Binary files a/timer_paused_match_parent.png and /dev/null differ diff --git a/timer_paused_no_layout_params.png b/timer_paused_no_layout_params.png deleted file mode 100644 index 6adacf0..0000000 Binary files a/timer_paused_no_layout_params.png and /dev/null differ diff --git a/timer_paused_setExactWidthDp.png b/timer_paused_setExactWidthDp.png deleted file mode 100644 index 6adacf0..0000000 Binary files a/timer_paused_setExactWidthDp.png and /dev/null differ diff --git a/timer_paused_unspecified.png b/timer_paused_unspecified.png deleted file mode 100644 index 239e0d5..0000000 Binary files a/timer_paused_unspecified.png and /dev/null differ