I've tried react-native-hr package - doesn't work for me nor on Android nor on iOS.
Following code is also not suitable because it renders three dots at the end
<Text numberOfLines={1}}>
______________________________________________________________
</Text>
Why don't you do something like this?
I was able to draw a separator with
flexbox
properties even with a text in the center of line.If you have a solid background (like white), this could be your solution:
I recently had this problem.
with this result: