* add next option for babel-plugin-transform-react-jsx * address review comments * chore: update test fixtures * Update fixture * Add "columnNumber" to the new React transform * Update windows fixtures * Delete unused output.js * Update windows tests * Fix windows again * fix comments Co-authored-by: Huáng Jùnliàng <jlhwung@gmail.com> Co-authored-by: Nicolò Ribaudo <nicolo.ribaudo@gmail.com> Co-authored-by: Moti Zilberman <motiz88@gmail.com>
13 lines
305 B
JavaScript
13 lines
305 B
JavaScript
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
|
_jsx(Foo, {});
|
|
|
|
var profile = _jsxs("div", {
|
|
children: [_jsx("img", {
|
|
src: "avatar.png",
|
|
className: "profile"
|
|
}), _jsx("h3", {
|
|
children: [user.firstName, user.lastName].join(" ")
|
|
})]
|
|
}); |