[Metro > Common] Add Flux to common modules

This commit is contained in:
Beef 2023-01-08 23:21:44 +00:00
parent a462b8e81e
commit 4ccd758f4a

View file

@ -13,6 +13,10 @@ export const navigation = findByProps("pushLazy");
export const navigationStack = findByProps("createStackNavigator");
export const NavigationNative = findByProps("NavigationContainer");
// Flux
export const Flux = findByProps("connectStores");
export const FluxDispatcher = findByProps("_currentDispatchActionType");
// React
export const React = findByProps("createElement") as typeof import("react");
export const ReactNative = findByProps("Text", "Image") as typeof import("react-native");