[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:
parent
818573a228
commit
3c95bb1024
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ export const i18n = findByProps("Messages");
|
||||||
export const url = findByProps("openURL");
|
export const url = findByProps("openURL");
|
||||||
export const toasts = find(m => m.open && m.close && !m.startDrag && !m.init && !m.openReplay && !m.setAlwaysOnTop);
|
export const toasts = find(m => m.open && m.close && !m.startDrag && !m.init && !m.openReplay && !m.setAlwaysOnTop);
|
||||||
export const stylesheet = findByProps("createThemedStyleSheet");
|
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 assets = findByProps("registerAsset");
|
||||||
export const navigation = findByProps("pushLazy");
|
export const navigation = findByProps("pushLazy");
|
||||||
export const navigationStack = findByProps("createStackNavigator");
|
export const navigationStack = findByProps("createStackNavigator");
|
||||||
|
|
Loading…
Reference in a new issue