How to display inline text in a NativeBase Button

When I add a Text element to a Button according to the examples , the text is displayed in uppercase. I need to display a button with inline text. I am using native-base version 2.1.4. Any help with this would be greatly appreciated. For example, if I include the code below, the button is SUBMIT

instead SUBMIT

:

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

      

+3


source to share


1 answer


You will try this for me.

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

      



Maybe this can help you !!!

+9


source







All Articles