mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-31 17:18:45 +08:00
Fix Flow annotations in ScrollViewSimpleExample
Reviewed By: @jingc Differential Revision: D2437502
This commit is contained in:
committed by
facebook-github-bot-2
parent
f4172dea3d
commit
df288564c6
@@ -30,7 +30,7 @@ var ScrollViewSimpleExample = React.createClass({
|
||||
title: '<ScrollView>',
|
||||
description: 'Component that enables scrolling through child components.'
|
||||
},
|
||||
makeItems: function(nItems, styles) {
|
||||
makeItems: function(nItems: number, styles): Array<any> {
|
||||
var items = [];
|
||||
for (var i = 0; i < nItems; i++) {
|
||||
items[i] = (
|
||||
|
||||
Reference in New Issue
Block a user