Skip to content

Commit

Permalink
update demo
Browse files Browse the repository at this point in the history
  • Loading branch information
testshallpass committed Jan 4, 2020
1 parent 42e8448 commit 432ad47
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ A thumbnail selector that internally uses Flatlist component so it requires reac

```npm i react-native-thumbnail-selector --save```

## Demo

![screenshot](https://raw.github.com/testshallpass/react-native-thumbnail-selector/master/assets/demo.gif)

## Usage

```javascript
Expand Down
Binary file added assets/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion example/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default class App extends Component {
render() {
const { selectedIndex } = this.state;
const { image, caption } = ITEMS[selectedIndex];
const text = `${caption}`;
const text = `${caption} #${selectedIndex}`;
return (
<View style={styles.container}>
<Image
Expand Down
Binary file removed screenshots/demo.gif
Binary file not shown.

0 comments on commit 432ad47

Please sign in to comment.