Match-id-690f272c0cfe9ce04d4655927368acf2c33c937d
This commit is contained in:
parent
0fadb8bdf6
commit
afbc68bd90
|
@ -1 +0,0 @@
|
||||||
var div = <Component {...props} foo="bar" />
|
|
|
@ -1,5 +0,0 @@
|
||||||
import { jsx as _jsx } from "react/jsx-runtime";
|
|
||||||
|
|
||||||
var div = /*#__PURE__*/_jsx(Component, { ...props,
|
|
||||||
foo: "bar"
|
|
||||||
});
|
|
|
@ -1,13 +0,0 @@
|
||||||
var x =
|
|
||||||
<div>
|
|
||||||
foo
|
|
||||||
{"bar"}
|
|
||||||
baz
|
|
||||||
<div>
|
|
||||||
buz
|
|
||||||
bang
|
|
||||||
</div>
|
|
||||||
qux
|
|
||||||
{null}
|
|
||||||
quack
|
|
||||||
</div>
|
|
|
@ -1,8 +0,0 @@
|
||||||
import { jsx as _jsx } from "react/jsx-runtime";
|
|
||||||
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
||||||
|
|
||||||
var x = /*#__PURE__*/_jsxs("div", {
|
|
||||||
children: ["foo", "bar", "baz", /*#__PURE__*/_jsx("div", {
|
|
||||||
children: "buz bang"
|
|
||||||
}), "qux", null, "quack"]
|
|
||||||
});
|
|
|
@ -1,7 +0,0 @@
|
||||||
<p {...props}>text</p>;
|
|
||||||
|
|
||||||
<div {...props}>{contents}</div>;
|
|
||||||
|
|
||||||
<img alt="" {...{src, title}} />;
|
|
||||||
|
|
||||||
<blockquote {...{cite}}>{items}</blockquote>;
|
|
|
@ -1,24 +0,0 @@
|
||||||
import { jsx as _jsx } from "react/jsx-runtime";
|
|
||||||
|
|
||||||
/*#__PURE__*/
|
|
||||||
_jsx("p", { ...props,
|
|
||||||
children: "text"
|
|
||||||
});
|
|
||||||
|
|
||||||
/*#__PURE__*/
|
|
||||||
_jsx("div", { ...props,
|
|
||||||
children: contents
|
|
||||||
});
|
|
||||||
|
|
||||||
/*#__PURE__*/
|
|
||||||
_jsx("img", {
|
|
||||||
alt: "",
|
|
||||||
src,
|
|
||||||
title
|
|
||||||
});
|
|
||||||
|
|
||||||
/*#__PURE__*/
|
|
||||||
_jsx("blockquote", {
|
|
||||||
cite,
|
|
||||||
children: items
|
|
||||||
});
|
|
|
@ -1 +0,0 @@
|
||||||
var x = <><div /></>
|
|
|
@ -1,6 +0,0 @@
|
||||||
import { jsx as _jsx } from "react/jsx-runtime";
|
|
||||||
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
||||||
|
|
||||||
var x = /*#__PURE__*/_jsx(_Fragment, {
|
|
||||||
children: /*#__PURE__*/_jsx("div", {})
|
|
||||||
});
|
|
|
@ -1 +0,0 @@
|
||||||
var es3 = <F aaa new const var default foo-bar/>;
|
|
|
@ -1,6 +0,0 @@
|
||||||
{
|
|
||||||
"plugins": [
|
|
||||||
["transform-react-jsx", { "runtime": "automatic" }],
|
|
||||||
"transform-property-literals"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,10 +0,0 @@
|
||||||
import { jsx as _jsx } from "react/jsx-runtime";
|
|
||||||
|
|
||||||
var es3 = /*#__PURE__*/_jsx(F, {
|
|
||||||
aaa: true,
|
|
||||||
"new": true,
|
|
||||||
"const": true,
|
|
||||||
"var": true,
|
|
||||||
"default": true,
|
|
||||||
"foo-bar": true
|
|
||||||
});
|
|
|
@ -1 +0,0 @@
|
||||||
<Component constructor="foo" />;
|
|
|
@ -1,6 +0,0 @@
|
||||||
import { jsx as _jsx } from "react/jsx-runtime";
|
|
||||||
|
|
||||||
/*#__PURE__*/
|
|
||||||
_jsx(Component, {
|
|
||||||
constructor: "foo"
|
|
||||||
});
|
|
|
@ -1 +0,0 @@
|
||||||
<Namespace.DeepNamespace.Component />;
|
|
|
@ -1,4 +0,0 @@
|
||||||
import { jsx as _jsx } from "react/jsx-runtime";
|
|
||||||
|
|
||||||
/*#__PURE__*/
|
|
||||||
_jsx(Namespace.DeepNamespace.Component, {});
|
|
|
@ -1 +0,0 @@
|
||||||
<div attr=<div /> />
|
|
|
@ -1,6 +0,0 @@
|
||||||
import { jsx as _jsx } from "react/jsx-runtime";
|
|
||||||
|
|
||||||
/*#__PURE__*/
|
|
||||||
_jsx("div", {
|
|
||||||
attr: /*#__PURE__*/_jsx("div", {})
|
|
||||||
});
|
|
|
@ -1 +0,0 @@
|
||||||
var x = <div>text</div>;
|
|
|
@ -1,5 +0,0 @@
|
||||||
import { jsx as _jsx } from "react/jsx-runtime";
|
|
||||||
|
|
||||||
var x = /*#__PURE__*/_jsx("div", {
|
|
||||||
children: "text"
|
|
||||||
});
|
|
|
@ -1 +0,0 @@
|
||||||
<div>{...children}</div>;
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"throws": "Spread children are not supported in React."
|
|
||||||
}
|
|
Loading…
Reference in New Issue