I have my code as below. template literals not creating multiline string in span tag, where as it is creating multiline in console.
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
class MyApp extends Component {
render() {
console.log(`string text line 1
string text line 2`);
let test = `dfas dss
sdassas`;
return (
<span>{test}</span>
)
}
}
ReactDOM.render(
<MyApp />,
document.getElementById('app')
);