Open moicez opened 5 years ago
The accessibility props are not being passed down to the NativeButton component. I have confirmed this here: https://github.com/dancormier/react-native-swipeout/blob/master/src/index.js#L79
Please advise if I am missing something.
const swipeoutBtns = [ { component: <DeleteSwipeBtn />, onPress: cbDelete, backgroundColor: rawStyles.colors.grayLighter, underlayColor: rawStyles.colors.grayLighter, accessibilityTraits: "button", accessibilityComponentType: "button", } ]; return ( <Swipeout right={swipeoutBtns} backgroundColor="#fff" buttonWidth={72} sensitivity={20} key={list.id} > <View style={style.container}> <Copy style={style.text}> Swiping Item </Copy> </View> <Swipeout /> );
The accessibility props are not being passed down to the NativeButton component. I have confirmed this here: https://github.com/dancormier/react-native-swipeout/blob/master/src/index.js#L79
Please advise if I am missing something.