Skip to content

Commit ee2f488

Browse files
Refer to the correct community package in the Clipboard deprecation notice (facebook#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: facebook#36914 Reviewed By: christophpurrer, cortinico Differential Revision: D45018301 Pulled By: lunaleaps fbshipit-source-id: 66c15b5416def75862ebb6ef30f25283a9fc1a20
1 parent f5c0606 commit ee2f488

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react-native/Libraries/Components/Clipboard/Clipboard.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ export interface ClipboardStatic {
1414

1515
/**
1616
* Clipboard has been extracted from react-native core and will be removed in a future release.
17-
* It can now be installed and imported from `@react-native-community/clipboard` instead of 'react-native'.
18-
* @see https://github.com/react-native-community/clipboard
17+
* It can now be installed and imported from `@react-native-clipboard/clipboard` instead of 'react-native'.
18+
* @see https://github.com/react-native-clipboard/clipboard
1919
* @deprecated
2020
*/
2121
export const Clipboard: ClipboardStatic;
2222
/**
2323
* Clipboard has been extracted from react-native core and will be removed in a future release.
24-
* It can now be installed and imported from `@react-native-community/clipboard` instead of 'react-native'.
25-
* @see https://github.com/react-native-community/clipboard
24+
* It can now be installed and imported from `@react-native-clipboard/clipboard` instead of 'react-native'.
25+
* @see https://github.com/react-native-clipboard/clipboard
2626
* @deprecated
2727
*/
2828
export type Clipboard = ClipboardStatic;

0 commit comments

Comments
 (0)