Babel error: JSX value should be either an expression or a quoted JSX text
It's hard to tell what you are trying to do here, but as the error says, the value of an attribute must be an expression {foo}
or quoted text "foo"
.
In this case
Child={<LoginForm />}
or
Child={LoginForm}
is probably what you want.
I got this error because I failed to quote a property inside of the JSX:
<span aria-hidden=true ...
should have been
<span aria-hidden="true" ...