react native break line text if too big
<View
style={{ flexDirection: 'row' }}
>
<Text style={{ flexShrink: 1 }}>
Really really long text...
</Text>
</View>
react native break line text if too big
<View
style={{ flexDirection: 'row' }}
>
<Text style={{ flexShrink: 1 }}>
Really really long text...
</Text>
</View>
how to place a line break in react native
you need use {'\n'} as line breaks in text component, whenever you need to add line break in react native application
insert a line break into a text component in react-native
text = text.replace(/<br\s*\/?>/gi, "\n")
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us