I just started using material-wi reactions, and I would like to customize some styles. For example, changing the background color of a tab.
trying to use inlineStyle
like
<Tabs style={this.getStyles().tabs} > </Tabs> getStyles(){ return { tabs: { backgroundColor: Colors.teal200 }, headline: { fontSize: '24px', lineHeight: '32px', paddingTop: '16px', marginBottom: '12px', letterSpacing: '0', fontWeight: Typography.fontWeightNormal, color: Typography.textDarkBlack, } } }
Changes the content area of ββthe tab, but not the title.
here we have some color attributes, how do we use it? In this case, Docs gives no examples.
How do I proceed?
source share