jsx - Adjacent JSX elements must be wrapped in an enclosing tag at (3:0)
Closed this issue · 0 comments
hsiaosiyuan0 commented
<div>
<h1>Hello</h1>
</div>;
<div>
<h1>Hello</h1>
World
</div>;
const CustomComp = (props) => <div>{props.children}</div>;
<CustomComp>
<div>Hello World</div>
{"This is just a JS expression..." + 1000}
</CustomComp>