mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fixes JSDoc in Clipboard setString (#36381)
Summary: There was a JSDoc mismatch in `Clipboard.setString` method, `the` was considered as a parameter name, not `content`. Added correct param name and kept the same description as before, separated with a hyphen. ## Changelog [GENERAL] [FIXED] - Fixes JSDoc in Cliapboard setString Pull Request resolved: https://github.com/facebook/react-native/pull/36381 Test Plan: No tests needed Reviewed By: yungsters Differential Revision: D43839086 Pulled By: cortinico fbshipit-source-id: 126035d9796e66938402704eaf9bc8646ee9b78b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
e088f81375
commit
0ecb4e64f0
@@ -32,7 +32,7 @@ module.exports = {
|
||||
* Clipboard.setString('hello world');
|
||||
* }
|
||||
* ```
|
||||
* @param the content to be stored in the clipboard.
|
||||
* @param {string} content the content to be stored in the clipboard.
|
||||
*/
|
||||
setString(content: string) {
|
||||
NativeClipboard.setString(content);
|
||||
|
||||
Reference in New Issue
Block a user