Closed
Description
Description
[Text]String with newline breaks the alignment.
When I add new line character('\n') in the text and nest a Text, it breaks the alignment.
The first line should be aligned center but left.
This only happens on iOS.
It works fine on Android.
Related to
- [v] Components
- Demo
- Docs
- Typings
Code snippet
<Text
textColor
center>
<Text bold>test</Text>
{'\nrest string'}
</Text>
Screenshots/Video
Environment
- React Native version: 0.70.3
- React Native UI Lib version: 6.29.0
Affected platforms
- Android
- [v] iOS
- Web