react-native-paper icon indicating copy to clipboard operation
react-native-paper copied to clipboard

My own Theme isn't working in HelperText

Open saharjedid opened this issue 7 years ago • 3 comments

<HelperText theme={{ colors: {placeholder: 'green',text: 'green',primary: 'green'}}} type="error" visible={!this.state.text.includes('@')} > Invalid Email

saharjedid avatar Dec 13 '18 13:12 saharjedid

@iyadthayyil any answer ?

saharjedid avatar Dec 18 '18 09:12 saharjedid

@saharjedid When type="error" it takes color from error property of colors object and when type="info" it takes color from text property.

Trancever avatar Dec 18 '18 12:12 Trancever

thanks a lot @Trancever

saharjedid avatar Dec 18 '18 14:12 saharjedid