diff --git a/example/src/TextInputExample.js b/example/src/TextInputExample.js index 6c86e7b0c5..05e290ac7b 100644 --- a/example/src/TextInputExample.js +++ b/example/src/TextInputExample.js @@ -42,7 +42,7 @@ class TextInputExample extends React.Component { label="Input with helper text" placeholder="Type more than three characters" value={this.state.errorInputText} - hasError={this.state.errorInputText.length > 3} + error={this.state.errorInputText.length > 3} onChangeText={errorInputText => this.setState({ errorInputText })} />