mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 17:13:46 +08:00
Format Code in TextInput Comment
Summary: * wrap code snippet in TextInput Comment in backticks ``` * unless there is a way to omit portions of comments from reaching the docs this is less confusingCloses https://github.com/facebook/react-native/pull/3085 Reviewed By: @svcscm Differential Revision: D2495630 Pulled By: @frantic
This commit is contained in:
committed by
facebook-github-bot-5
parent
e45b7ffb1e
commit
90fc8a30dd
@@ -68,8 +68,8 @@ type Event = Object;
|
||||
* />
|
||||
* ```
|
||||
*
|
||||
* Note that some props are only available with multiline={true/false}:
|
||||
*
|
||||
* Note that some props are only available with `multiline={true/false}`:
|
||||
* ```
|
||||
* var onlyMultiline = {
|
||||
* onSelectionChange: true, // not supported in Open Source yet
|
||||
* onTextInput: true, // not supported in Open Source yet
|
||||
@@ -79,6 +79,7 @@ type Event = Object;
|
||||
* var notMultiline = {
|
||||
* onSubmitEditing: true,
|
||||
* };
|
||||
* ```
|
||||
*/
|
||||
var TextInput = React.createClass({
|
||||
propTypes: {
|
||||
|
||||
Reference in New Issue
Block a user