Skip to content

Commit

Permalink
Merge pull request #34 from omer-waheed/patch-1
Browse files Browse the repository at this point in the history
fix: icon color change works with this
  • Loading branch information
bietkul committed Mar 15, 2019
2 parents 4ea4e7e + 5eb77f5 commit 0e92a1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fields/textInput/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default class TextInputField extends Component {
<View>
<Item error={theme.changeTextInputColorOnError ? attributes.error : null}>
{ attributes.icon &&
<Icon color={theme.textInputIconColor} name={attributes.icon} />
<Icon style={{color:theme.textInputIconColor}} name={attributes.icon} />
}
<Input
style={{
Expand Down Expand Up @@ -55,4 +55,4 @@ export default class TextInputField extends Component {
</ListItem>
);
}
}
}

0 comments on commit 0e92a1f

Please sign in to comment.