Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Display lowercase text in NativeBase Button

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>
like image 490
Kes115 Avatar asked Jul 28 '17 23:07

Kes115


1 Answers

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 !!!

like image 138
ashutosh pandey Avatar answered Oct 20 '22 18:10

ashutosh pandey