Skip to content

Commit

Permalink
Release 1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Apr 2, 2022
1 parent 1ed563e commit 7229a50
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.2.1
* Fix `keyExtractor` types.

## 1.2.0

## What's Changed
Expand Down
2 changes: 1 addition & 1 deletion index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface Props<T> extends Omit<ScrollViewProps, 'refreshControl'> {
contentContainerStyle?: StyleProp<ViewStyle>;
containerStyle?: StyleProp<ViewStyle>;
numColumns?: number;
keyExtractor?: (item: T, index: number) => string;
keyExtractor?: ((item: T, index: number) => string) | undefined;
}

const isCloseToBottom = (
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-seoul/masonry-list",
"version": "1.2.0",
"version": "1.2.1",
"description": "React Native Masonry List for Pinterest like UI implemented just like the [FlatList].",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down

0 comments on commit 7229a50

Please sign in to comment.