Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

insert a line break into a text component in react-native

text = text.replace(/<brs*/?>/gi, "
")
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #insert #line #break #text #component
ADD COMMENT
Topic
Name
6+7 =