Check out example codes for "how to center placeholdr text". It will help you in understanding the concepts better.

Code Example 1

input[type="text"]::placeholder {  
                  
                /* Firefox, Chrome, Opera */ 
                text-align: center; 
            } 
/*Must include type="text" in HTML*/

Learn ReactJs, React Native from akashmittal.com