react-native-action-button icon indicating copy to clipboard operation
react-native-action-button copied to clipboard

ActionButton Item click event not working

Open vishalparmarmt opened this issue 3 years ago • 1 comments

ActionButton.Item click event not working I use like following.

<ActionButton.Item buttonColor={defaultTheme.colors.blue} onPress={() => Alert.alert("test 1")}>
   <Text> Test </Text>
</ActionButton.Item>

vishalparmarmt avatar Sep 18 '20 11:09 vishalparmarmt

Keep the Action Button Component out the view, then it will work fine, (There should be no parent view to this component)

irfaanraza avatar Mar 10 '22 09:03 irfaanraza