Skip to content

Commit

Permalink
Refer to the correct community package in the Clipboard deprecation n…
Browse files Browse the repository at this point in the history
…otice (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
  • Loading branch information
TomasHubelbauer authored and OlimpiaZurek committed May 22, 2023
1 parent 5fdbb48 commit df8c7d5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit df8c7d5

Please sign in to comment.