[Metro > Common] Switch clipboard to @react-native-clipboard/clipboard

This library has added functionality, and the included clipboard is deprecated.
This commit is contained in:
Jack Matthews 2023-01-16 01:08:46 -05:00 committed by Beef
parent 818573a228
commit 3c95bb1024

View file

@ -7,7 +7,7 @@ export const i18n = findByProps("Messages");
export const url = findByProps("openURL");
export const toasts = find(m => m.open && m.close && !m.startDrag && !m.init && !m.openReplay && !m.setAlwaysOnTop);
export const stylesheet = findByProps("createThemedStyleSheet");
export const clipboard = findByProps("setString", "getString");
export const clipboard = findByProps("setString", "getString", "hasString");
export const assets = findByProps("registerAsset");
export const navigation = findByProps("pushLazy");
export const navigationStack = findByProps("createStackNavigator");