I am trying to render this reactstrap CustomInput in a loop. Everything renders correctly, however, the console.log(index) always prints out 0. I\'m not sure why?
console.log(index)