Month: September 2020

How to Capitalize TextInput Component in React Native

TextInput is the component where the end user gives input. Sometimes, we may need to control how the values are inserted to the TextInput. Let’s check how to capitalize the text inserted through TextInput in react native. If you are looking for how to capitalize a Text component in react native then you can check …

How to Capitalize TextInput Component in React Native Read More »

How to Capitalize Text in React Native using Style

Last Updated on September 28, 2020. Sometimes, we need to show text in some specific case. There are already JavaScript functions such as toLowerCase and toUpperCase. But having a prop for changing cases or capitalize can make your work simpler. In this react native example, I am using a text style prop named textTransform for …

How to Capitalize Text in React Native using Style Read More »

How to use useRef Hook in React Native Functional Component

Last Updated on September 5, 2020. Hooks are integral part of a functional component. The useRef hook is used to invoke methods on react native components. In this blog post, let’s check how to use useRef in react native. We have a TextInput component and a Pressable component. When we press the Pressable component, the …

How to use useRef Hook in React Native Functional Component Read More »