You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: readme.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -52,18 +52,18 @@ const Tile = ({text}) => {
52
52
53
53
## Props
54
54
55
-
####dataSource (required)
55
+
####dataSource (required)
56
56
Type: `ListView.DataSource`
57
57
58
58
This is the same `DataSource` object you would use in `react-native`'s `ListView`
59
59
60
-
####tilesPerRow
60
+
####tilesPerRow
61
61
Type: `Number`,
62
62
Default: `3`
63
63
64
64
Tiles per row. The Tiles will be sized to be as big as possible while having an even, equal space between them
65
65
66
-
####renderItem (required)
66
+
####renderItem (required)
67
67
Type: `Function (itemData -> size -> Component)`
68
68
69
69
This is like the `renderRow` function in `ListView`. But here the function also gives you the resulting size of the tile. This is useful when you want to fill the Tile with an Image. For example:
0 commit comments