Components & JSX1 / 14
Up next

Returning an element

function Banner() {
  // a component returns one root element
  return <div>New release is live</div>;
}

export default Banner;
What you're solving

return a single root element from a component