The desired behaviour is to pass an argument (text) to the onClick handler to console.log it but it seems that I\'m doing something wrong with the syntax.
If I leave
You can solve it with fat arrows too:
export default class Nav extends Component { handlePress = (text) => { console.log(text); } render() { return ( #################### Intro Screen Number: {this.props.numbers} this.handlePress('weeeeee')}> Go to Foo ); } }