如何在 NativeBase Button 中显示小写文本
How to Display lowercase text in NativeBase Button
当我根据 examples 在按钮中添加文本元素时,文本以大写形式显示。我需要显示一个带有小写文本的按钮。我正在使用本机基础版本 2.1.4。对此的任何帮助将不胜感激。例如,如果我包含下面的代码,按钮会显示 SUBMIT
而不是 Submit
:
import { Button} from 'native-base';
<Button>
<Text>Submit</Text>
</Button>
你试试这个对我有用
import { Button} from 'native-base';
<Button>
<Text uppercase={false}>Submit</Text>
</Button>
也许能帮到你!!!
当我根据 examples 在按钮中添加文本元素时,文本以大写形式显示。我需要显示一个带有小写文本的按钮。我正在使用本机基础版本 2.1.4。对此的任何帮助将不胜感激。例如,如果我包含下面的代码,按钮会显示 SUBMIT
而不是 Submit
:
import { Button} from 'native-base';
<Button>
<Text>Submit</Text>
</Button>
你试试这个对我有用
import { Button} from 'native-base';
<Button>
<Text uppercase={false}>Submit</Text>
</Button>
也许能帮到你!!!