DEV Community

skptricks
skptricks

Posted on

React Native Convert Text to Upper Case or Lower Case on Button Click

Source : React Native Convert Text to Upper Case or Lower Case on Button Click

This tutorial explains how to convert text to upper case or lower case on button click in react native application. In this example we are going use toUpperCase() and toLowerCase() Javascript function to convert upper case or lower case letter in react native application.
toUpperCase() is used to convert all the text component text to Upper Case (Capitalize).
toLowerCase() function is used to transform all text into lower case.

Click here to read more

Top comments (0)