Skip to content

Commit

Permalink
input error/success should use the correct icons
Browse files Browse the repository at this point in the history
  • Loading branch information
giogonzo committed Apr 3, 2018
1 parent ec9dabd commit 71cffd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Input/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export class Input extends React.PureComponent<Input.Props> {
const isSuccess = status === 'success';
const isFailure = status === 'failure';
const children = this.props.children || (
isSuccess ? <View vAlignContent='center'><Icon icon='check-circle' /></View> :
isFailure ? <View vAlignContent='center'><Icon icon='times-circle' /></View> :
isSuccess ? <View vAlignContent='center'><Icon icon='success' /></View> :
isFailure ? <View vAlignContent='center'><Icon icon='error' /></View> :
undefined
);

Expand Down

0 comments on commit 71cffd1

Please sign in to comment.