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:
Harry Moreno 2015-09-30 18:56:00 -07:00 committed by facebook-github-bot-5
parent e45b7ffb1e
commit 90fc8a30dd
1 changed files with 3 additions and 2 deletions

View File

@ -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: {