Closed masteryoda2596 closed 6 years ago
When I custom stylesheet background, the background is work as my expected but the color of title and message change to the dark color. Even I change the textStyle, it still not working. Do u guys have any idea to fix this? Tks in advance.
Here is my code:
MessageBarManager.showAlert({ title: customTitle, message: customMessage, alertType: 'info', duration: 5000, durationToShow: 500, onTapped: this.state.actionCallback, stylesheetInfo: {backgroundColor: '#4065b5', strokeColor: '#4065b5'}, titleStyle: {color: 'white', fontSize: 18, fontWeight: 'bold'}, messageStyle: {color: 'white', fontSize: 16}, });
You can use this:
stylesheetInfo: { backgroundColor: '#ff1600', strokeColor: '#006acd', titleColor: '#ffffff', messageColor: '#ffffff' }
When I custom stylesheet background, the background is work as my expected but the color of title and message change to the dark color. Even I change the textStyle, it still not working. Do u guys have any idea to fix this? Tks in advance.
Here is my code: