Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gusgard authored Dec 27, 2020
1 parent cc86e92 commit c83ee31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ npm install react-native-swiper-flatlist --save
## Notice

Version 2.x was re-implemented using React Hooks so it only works with version 0.59 or above

Version 3.x was re-implemented using Typescript

| react-native-swiper-flatlist | react-native |
Expand Down Expand Up @@ -129,7 +130,7 @@ This is a wrapper around [Flatlist](http://facebook.github.io/react-native/docs/

## Functions

| Name | Params | Use |
| Name | Type | Use |
| :-------------- | :-------------------------------------- | :-------------------------------------------------------------------------------------------------- |
| scrollToIndex | `({ index: number, animated?: boolean}) => void` | Scroll to the index |
| getCurrentIndex | `() => number` | Returns the current index |
Expand Down

0 comments on commit c83ee31

Please sign in to comment.