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:
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: {
|
||||
|
|
Loading…
Reference in New Issue