Add doc warning stating that TouchableOpacity can only support a single child
This commit is contained in:
parent
a1193b7a93
commit
0466bbd616
|
@ -44,6 +44,9 @@ var onlyChild = require('onlyChild');
|
|||
* );
|
||||
* },
|
||||
* ```
|
||||
* > **NOTE**: TouchableOpacity supports only one child
|
||||
* >
|
||||
* > If you wish to have to have several child components, wrap them in a View.
|
||||
*/
|
||||
|
||||
var TouchableOpacity = React.createClass({
|
||||
|
|
Loading…
Reference in New Issue