mastermoo / react-native-action-button

customizable multi-action-button component for react-native
MIT License
2.52k stars 570 forks source link

ActionButton Item click event not working #356

Open vishalparmarmt opened 4 years ago

vishalparmarmt commented 4 years ago

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>
irfaanraza commented 2 years ago

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