react-native-otp-inputs icon indicating copy to clipboard operation
react-native-otp-inputs copied to clipboard

Update clipboard lib

Open mapirpg opened this issue 1 year ago • 0 comments

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch [email protected] for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-otp-inputs/src/index.tsx b/node_modules/react-native-otp-inputs/src/index.tsx
index 7fd9e45..83183bc 100644
--- a/node_modules/react-native-otp-inputs/src/index.tsx
+++ b/node_modules/react-native-otp-inputs/src/index.tsx
@@ -1,4 +1,4 @@
-import Clipboard from '@react-native-clipboard/clipboard';
+import Clipboard from '@react-native-community/clipboard';
 import React, {
   forwardRef,
   RefObject,

This issue body was partially generated by patch-package.

mapirpg avatar Jun 17 '24 22:06 mapirpg