Skip to content

Commit f92e683

Browse files
committed
update readme
1 parent 31e5d14 commit f92e683

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,18 @@ const Tile = ({text}) => {
5252

5353
## Props
5454

55-
####dataSource (required)
55+
#### dataSource (required)
5656
Type: `ListView.DataSource`
5757

5858
This is the same `DataSource` object you would use in `react-native`'s `ListView`
5959

60-
####tilesPerRow
60+
#### tilesPerRow
6161
Type: `Number`,
6262
Default: `3`
6363

6464
Tiles per row. The Tiles will be sized to be as big as possible while having an even, equal space between them
6565

66-
####renderItem (required)
66+
#### renderItem (required)
6767
Type: `Function (itemData -> size -> Component)`
6868

6969
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

Comments
 (0)