Refer to the correct community package in the Clipboard deprecation notice (#36914)

Summary:
The URLs in this file were pointing to something but that package ended up not working for me. I checked the docs and sure enough those suggest a URL which ultimately redirects to a different URL that the one in these docs:

https://reactnative.dev/docs/clipboard -> https://reactnative.directory/?search=clipboard -> https://github.com/react-native-clipboard/clipboard

I believe this is the right URL.

Pull Request resolved: https://github.com/facebook/react-native/pull/36914

Reviewed By: christophpurrer, cortinico

Differential Revision: D45018301

Pulled By: lunaleaps

fbshipit-source-id: 66c15b5416def75862ebb6ef30f25283a9fc1a20
This commit is contained in:
Tomáš Hübelbauer
2023-04-17 03:47:51 -07:00
committed by Facebook GitHub Bot
parent f5c0606185
commit ee2f488670
@@ -14,15 +14,15 @@ export interface ClipboardStatic {
/**
* Clipboard has been extracted from react-native core and will be removed in a future release.
* It can now be installed and imported from `@react-native-community/clipboard` instead of 'react-native'.
* @see https://github.com/react-native-community/clipboard
* It can now be installed and imported from `@react-native-clipboard/clipboard` instead of 'react-native'.
* @see https://github.com/react-native-clipboard/clipboard
* @deprecated
*/
export const Clipboard: ClipboardStatic;
/**
* Clipboard has been extracted from react-native core and will be removed in a future release.
* It can now be installed and imported from `@react-native-community/clipboard` instead of 'react-native'.
* @see https://github.com/react-native-community/clipboard
* It can now be installed and imported from `@react-native-clipboard/clipboard` instead of 'react-native'.
* @see https://github.com/react-native-clipboard/clipboard
* @deprecated
*/
export type Clipboard = ClipboardStatic;