Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ActionButton.Item, onPress doesn't change route #335

Open
pauloarn opened this issue Feb 9, 2020 · 0 comments
Open

ActionButton.Item, onPress doesn't change route #335

pauloarn opened this issue Feb 9, 2020 · 0 comments

Comments

@pauloarn
Copy link

pauloarn commented Feb 9, 2020

When i give a function to my onPress property, it doesn't executes the function
Example in the code below
The function Terte should display an Alert just for test
<ActionButton buttonColor="#006300" position = 'right' radius = {90} degress = {20}> <ActionButton.Item buttonColor='#006300' onPress={() => console.log("notes tapped!")}> <Icon2 name="clear" style={styles.actionButtonIcon} /> </ActionButton.Item> <ActionButton.Item buttonColor='#006300' onPress={() => {}}> <Icon2 name="create" style={styles.actionButtonIcon} /> </ActionButton.Item> <ActionButton.Item buttonColor='#006300' onPress = {()=> this.Terte()}> <Icon2 name="add-a-photo" style={styles.actionButtonIcon}/> </ActionButton.Item>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant