如何在react native中将<Text> some text </Text>
设置为大写?
<Text style={{}}> Test </Text>
需要证明Test
等于TEST
.
如何在react native中将<Text> some text </Text>
设置为大写?
<Text style={{}}> Test </Text>
需要证明Test
等于TEST
.
@谢谢你的回答
<Text style={{}}> {'Test'.toUpperCase()} </Text>