From 7cb9ffc4f40733c9d29bf3993b288eefa236389b Mon Sep 17 00:00:00 2001 From: Krzysztof Sroka Date: Fri, 27 Apr 2018 13:42:51 +0200 Subject: [PATCH] fix: fixing TextInputExample after prop name change --- example/src/TextInputExample.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 })} />