Skip to content

Commit

Permalink
fix: fixing TextInputExample after prop name change
Browse files Browse the repository at this point in the history
  • Loading branch information
kpsroka committed Apr 27, 2018
1 parent 5a93e6b commit 7cb9ffc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/TextInputExample.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class TextInputExample extends React.Component<Props, State> {
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 })}
/>
<HelperText
Expand Down

0 comments on commit 7cb9ffc

Please sign in to comment.