I'm a bit stuck with my component, I need to call onChange from props so
<input type="text" value={this.state.text} onChange={this.props.onChange} />
but also call another function within the component called handleChange()
that updates the state.text, I tried
<input type="text" value={this.state.text} onChange={this.props.onChange; this.handleChange} />
but this doesn't seem to work.