From ee2f488670ebabfd4b398c3fb9551ab4241dd414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20H=C3=BCbelbauer?= Date: Mon, 17 Apr 2023 03:47:51 -0700 Subject: [PATCH] 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 --- .../Libraries/Components/Clipboard/Clipboard.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react-native/Libraries/Components/Clipboard/Clipboard.d.ts b/packages/react-native/Libraries/Components/Clipboard/Clipboard.d.ts index b83f5a1779a..8bc5cb7623c 100644 --- a/packages/react-native/Libraries/Components/Clipboard/Clipboard.d.ts +++ b/packages/react-native/Libraries/Components/Clipboard/Clipboard.d.ts @@ -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;