I\'m new to React Native (and React), and I\'m trying to pass a function as a prop to a component.
My goal is to create a component where its onPress functionality c
// Parent handleClick( name ){ alert(name); } // Children let { func } = this.props; func( 'VARIABLE' );