hyochan / react-native-masonry-list

The Masonry List implementation which has similar implementation as the `FlatList` in React Native
MIT License
399 stars 55 forks source link

Inside the example code <CardItem /> should includes key props #10

Closed tarouboy closed 3 years ago

tarouboy commented 3 years ago

Unlike the Flatlist component will automatically apply key prop from KeyExtractor, if just passing will show missing key warning.

Suggest to revise the Usage part as follow: renderItem={({item, i}) => <CardItem key={'card'+i} />}

P.S. Thanks for the package!