Skip to content

Commit

Permalink
Update: add warningTextEmpty, closes #1610 (#1612)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickycodes authored Jun 3, 2020
1 parent 40d3306 commit a0fff81
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/components/UI/StyledButton/styledButtonStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ const styles = StyleSheet.create({
warningText: {
color: colors.white
},
warningTextEmpty: {
color: colors.red
},
neutral: {
backgroundColor: colors.white,
borderWidth: 1,
Expand Down Expand Up @@ -155,7 +158,7 @@ function getStyles(type) {
containerStyle = styles.warning;
break;
case 'warning-empty':
fontStyle = styles.warningText;
fontStyle = styles.warningTextEmpty;
containerStyle = styles.transparent;
break;
case 'info':
Expand Down

0 comments on commit a0fff81

Please sign in to comment.