jemise111 / react-native-swipe-list-view

A React Native ListView component with rows that swipe open and closed
https://www.npmjs.com/package/react-native-swipe-list-view
MIT License
2.78k stars 528 forks source link

Warning: Animated.event now requires a second argument for options #568

Closed terrynguyen255 closed 3 years ago

terrynguyen255 commented 3 years ago

Describe the bug Warning: Animated.event now requires a second argument for options

To Reproduce


![](https://f9.photo.talk.zdn.vn/8038413744966505575/55da1030249ed3c08a8f.jpg)

import { SwipeItem, SwipeButtonsContainer } from 'react-native-swipe-item';
  const btn = (
    <SwipeButtonsContainer
      style={{
        alignSelf: 'center',
        aspectRatio: 1,
        flexDirection: 'column',
      }}
    >
      {buttonContent}
    </SwipeButtonsContainer>
  );

  return (
      <SwipeItem rightButtons={btn} >
        <Content />
      </SwipeItem>
  );

Screenshots 55da1030249ed3c08a8f

Environment (please complete the following information):

jemise111 commented 3 years ago

@Nogias9x this is not the GH repo for react-native-swipe-item