Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将标签设置为黑色,星号 (*) 设置为红色。
<FormLabel>{I18n.strings("account.nickname")}*</FormLabel>
默认标签变黑,我需要红色星号..
提前感谢<3
<FormLabel>{I18n.strings("account.nickname")}<Text style={{ color: 'red' }}>*</Text></FormLabel>
我发现这很简单
<Text style={styles.titleContainer}>Head category<Text style={{color:'red', justifyContent:'center'}}>*</=Text> </Text>