mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Drop extra spaces in TextInput JS doc (#41156)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41156 Minor update to the `TextInput` JS doc. Changelog: [Internal] Reviewed By: rshest Differential Revision: D50551342 fbshipit-source-id: 1334815aa355ae2914e0c4c198f22c11de595d55
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c9dc099470
commit
2935a3acd1
@@ -1043,8 +1043,8 @@ const emptyFunctionThatReturnsTrue = () => true;
|
||||
* return (
|
||||
* <TextInput
|
||||
* {...this.props} // Inherit any props passed to it; e.g., multiline, numberOfLines below
|
||||
* editable = {true}
|
||||
* maxLength = {40}
|
||||
* editable={true}
|
||||
* maxLength={40}
|
||||
* />
|
||||
* );
|
||||
* }
|
||||
@@ -1068,8 +1068,8 @@ const emptyFunctionThatReturnsTrue = () => true;
|
||||
* borderBottomWidth: 1 }}
|
||||
* >
|
||||
* <UselessTextInput
|
||||
* multiline = {true}
|
||||
* numberOfLines = {4}
|
||||
* multiline={true}
|
||||
* numberOfLines={4}
|
||||
* onChangeText={(text) => this.setState({text})}
|
||||
* value={this.state.text}
|
||||
* />
|
||||
|
||||
Reference in New Issue
Block a user