using community clipboard instead of react-native one

This commit is contained in:
Nouman Tahir 2023-02-21 11:43:44 +05:00
parent 5b3f05f35f
commit ffa8ae764a

View File

@ -1,4 +1,4 @@
import { Clipboard } from 'react-native';
import Clipboard from '@react-native-clipboard/clipboard';
const readFromClipboard = async () => {
const clipboardContent = await Clipboard.getString();