Skip to main content

Posts

Showing posts from October, 2022

Featured post

How to Insert line break in Text component in React Native

Hi, I was developing an application in react native.I have to handle lots of text data in this small react native application.I have used  Text component in react native many times. While working on this application,i had a requirement to display some text content with line breaks.I will explain it clearly with an example.I want to display a text as shown below  Welcome Please subscribe my channel I wrote react native code as shown below <View> <Text> Welcome Please subscribe my channel </Text> <View> When i run these lines of code,It will display text as shown below Welcome Please subscribe my channel   - instead of displaying in two lines with line break,it displays in a single line.So i have to find a solution to insert line break in Text component in React Native.After lots of research,i found a clean solution as shown below <View> <Text> Welcome{"\n"} Please subscribe my channel </Text> <View> Here ...

No module named face recognition import face recognition ModuleNotFoundError python opencv fixed

Cannot mix BigInt and other types, use explicit conversions TypeError Javascript

Render Error Can't find variable View Can't find variable Text Can't find StyleSheet React Native

Render Error undefined is not an Object (evaluating _react.react .createElement) React Native

How to connect Node JS to MS Sql Database

How to check a variable is an array in javascript

How to check a javascript array is empty or not empty using length property of array

How to check an object is empty in javascript

How to check null undefined and empty string in javascript

How to find Ids from an array of objects in Javascript using MAP method in javascript

How to check a given string is empty or not in Javascript using REGEX expression