Constructor
# <BackButton value text history />
Renders the BackButton component.
This button simulates a browser's back button.
PropTypes:
Name | Type | Required | Description | Default |
---|---|---|---|---|
value |
string | Yes | The button's value (HTML value) | |
text |
string | Yes | The text to display in the button | |
history |
object | Yes | React Router history object. This is provided by the withRouter function. |
Methods
# inner buttonClickedHandler()
Tells React Router to go back one page