From 4ccd758f4ac724f0bdcfb0b5cc64bc4e615051c4 Mon Sep 17 00:00:00 2001 From: Beef Date: Sun, 8 Jan 2023 23:21:44 +0000 Subject: [PATCH] [Metro > Common] Add Flux to common modules --- src/lib/metro/common.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/metro/common.ts b/src/lib/metro/common.ts index c0d3bb9..90ac4eb 100644 --- a/src/lib/metro/common.ts +++ b/src/lib/metro/common.ts @@ -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");