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 = {
|
* var onlyMultiline = {
|
||||||
* onSelectionChange: true, // not supported in Open Source yet
|
* onSelectionChange: true, // not supported in Open Source yet
|
||||||
* onTextInput: true, // not supported in Open Source yet
|
* onTextInput: true, // not supported in Open Source yet
|
||||||
|
@ -79,6 +79,7 @@ type Event = Object;
|
||||||
* var notMultiline = {
|
* var notMultiline = {
|
||||||
* onSubmitEditing: true,
|
* onSubmitEditing: true,
|
||||||
* };
|
* };
|
||||||
|
* ```
|
||||||
*/
|
*/
|
||||||
var TextInput = React.createClass({
|
var TextInput = React.createClass({
|
||||||
propTypes: {
|
propTypes: {
|
||||||
|
|
Loading…
Reference in New Issue