如何在NativeBase按钮中显示小写文本

Kes*_*115 5 react-native native-base

当我根据示例在Button中添加Text元素时,文本以大写形式显示.我需要显示一个小写文本的按钮.我使用的是原生基础版本2.1.4.任何有关这方面的帮助将非常感激.例如,如果我包含下面的代码,按钮会说SUBMIT而不是Submit:

import { Button} from 'native-base';
<Button>
  <Text>Submit</Text>
</Button>
Run Code Online (Sandbox Code Playgroud)

ash*_*dey 20

你试试这个对我有用

import { Button} from 'native-base';
 <Button>
   <Text uppercase={false}>Submit</Text>
</Button>
Run Code Online (Sandbox Code Playgroud)

可能它可以帮助你!!!