Skip to content

Commit

Permalink
Format Code in TextInput Comment
Browse files Browse the repository at this point in the history
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 #3085

Reviewed By: @​svcscm

Differential Revision: D2495630

Pulled By: @frantic
  • Loading branch information
morenoh149 authored and facebook-github-bot-5 committed Oct 1, 2015
1 parent e45b7ff commit 90fc8a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -79,6 +79,7 @@ type Event = Object;
* var notMultiline = {
* onSubmitEditing: true,
* };
* ```
*/
var TextInput = React.createClass({
propTypes: {
Expand Down

0 comments on commit 90fc8a3

Please sign in to comment.