SyntaxFix
Write A Post
Hire A Developer
Questions
This worked for me, no special imports needed:
<input type="button" name="back" id="back" class="btn btn-primary" value="Back" onClick={() => { this.props.history.goBack() }} />