How to Display lowercase text in NativeBase Button

Kes115 picture Kes115 · Jul 29, 2017 · Viewed 8.4k times · Source

When I add a Text element in a Button according to the examples, the text shows up in uppercase. I need to display a button with lowercase text. I'm using native-base version 2.1.4. Any help with this will be most appreciated. As an example, if I include the code below, the button would say SUBMIT instead of Submit:

import { Button} from 'native-base';
<Button>
  <Text>Submit</Text>
</Button>

Answer

ashutosh pandey picture ashutosh pandey · Jul 29, 2017

You try this its works for me

import { Button} from 'native-base';
 <Button>
   <Text uppercase={false}>Submit</Text>
</Button>

May be it can Help you !!!