Merge pull request #4806 from morenoh149/wrapJS

[docs] Wrap javascript at 80 columns
This commit is contained in:
Martin Konicek 2015-12-16 14:06:13 +00:00
commit f6e6cae2ed
1 changed files with 4 additions and 3 deletions

View File

@ -129,11 +129,12 @@ To make it simpler to access your new functionality from JavaScript, it is commo
```js ```js
'use strict'; 'use strict';
/** /**
* This exposes the native ToastAndroid module as a JS module. This has a function 'show' * This exposes the native ToastAndroid module as a JS module. This has a
* which takes the following parameters: * function 'show' which takes the following parameters:
* *
* 1. String message: A string with the text to toast * 1. String message: A string with the text to toast
* 2. int duration: The duration of the toast. May be ToastAndroid.SHORT or ToastAndroid.LONG * 2. int duration: The duration of the toast. May be ToastAndroid.SHORT or
* ToastAndroid.LONG
*/ */
var { NativeModules } = require('react-native'); var { NativeModules } = require('react-native');
module.exports = NativeModules.ToastAndroid; module.exports = NativeModules.ToastAndroid;