add more react spread tests
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<Component y={2} z { ... x } />
|
||||
@@ -0,0 +1,4 @@
|
||||
React.createElement(Component, React.__spread({
|
||||
y: 2,
|
||||
z: true
|
||||
}, x));
|
||||
@@ -0,0 +1 @@
|
||||
<Component y={2} { ... x } z />
|
||||
@@ -0,0 +1,5 @@
|
||||
React.createElement(Component, React.__spread({
|
||||
y: 2
|
||||
}, x, {
|
||||
z: true
|
||||
}));
|
||||
Reference in New Issue
Block a user