React Native ToolbarAndroid Text Styling

A couple of days back when I was working on a React Native Android application, I wanted to style the text of the title of ToolbarAndroid. So I opened the documentation page of ToolbarAndroid  and started searching for something that would help me style the title of the Toolbar.

I did not find any thing regarding styling the title after reading the documentation. I started researching and finally found a solution.

Here is how you style the title of ToolbarAndroid in a React Native android application

<ToolbarAndroid>
 <Text 
  style={{ color: '#ffffff' }}>
   I am the Title
 </Text>
</ToolbarAndroid>

Leave a Reply

Your email address will not be published. Required fields are marked *