UNPKG

@react-native-clipboard/clipboard

Version:

React Native Clipboard API for macOS, iOS, Android, and Windows

8 lines (7 loc) 291 B
/** * useClipboard.ts * This code is inspired from the @react-native-community/hooks package * All credit goes to author of the useClipboard custom hooks. * https://github.com/react-native-community/hooks */ export declare const useClipboard: () => [string, (content: string) => void];