Skip to content

Commit 21c0d33

Browse files
authored
chore(example): use direct import from screens instead of repository-relative (#3434)
Use direct import instead of relative in example application The app is not part of the lib. We should import things from screens as from any other lib. I've ensured that feature flags keep working correctly. If you're seeing type errors on your end, that the feature flags do not exist -> you need to run `yarn prepare` in the project top level directory. Closes software-mansion/react-native-screens-labs#603
1 parent 1d46124 commit 21c0d33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FabricExample/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import App from '../apps';
2-
import { featureFlags } from '../src';
2+
import { featureFlags } from 'react-native-screens';
33

44
featureFlags.experiment.synchronousScreenUpdatesEnabled = false
55
featureFlags.experiment.synchronousHeaderConfigUpdatesEnabled = false

0 commit comments

Comments
 (0)