Commit 9406ec59 authored by Pramodh Rajapakse's avatar Pramodh Rajapakse

warning fixed

parent d180cdb6
...@@ -79,7 +79,8 @@ export default class AppCarousel extends Component { ...@@ -79,7 +79,8 @@ export default class AppCarousel extends Component {
pagingEnabled pagingEnabled
onScroll={ onScroll={
Animated.event( Animated.event(
[{ nativeEvent: { contentOffset: { x: this.animVal } } }] [{ nativeEvent: { contentOffset: { x: this.animVal } } }],
{listener: (event) => console.log(event)},
) )
} }
> >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment