I used .map over an array in a parent component to create multiple children of another class component, all with ref={this.child}. I am now trying to use a call back functio