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
try this
const onChangeHandler = index => { console.log(index) } onPress={onChangeHandler.bind(this, index)}