mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
49 lines
1.2 KiB
JavaScript
49 lines
1.2 KiB
JavaScript
const React = require("react");
|
|
React.createElement(OneThing, {
|
|
yxx: "ok"
|
|
}), React.createElement(OneThing, {
|
|
yy: 100,
|
|
yy1: "hello"
|
|
}), React.createElement(OneThing, {
|
|
yxx: "hello",
|
|
"ignore-prop": !0
|
|
}), React.createElement(OneThing, {
|
|
data: "hello",
|
|
"data-prop": !0
|
|
}), React.createElement(OneThing, {
|
|
yxx1: "ok"
|
|
}, "Hello"), React.createElement(TestingOneThing, {
|
|
y1: !0,
|
|
"extra-data": !0
|
|
}), React.createElement(TestingOneThing, {
|
|
"extra-data": "hello"
|
|
}), React.createElement(TestingOneThing, {
|
|
"extra-data": "hello",
|
|
yy: "hihi"
|
|
}), React.createElement(TestingOneThing, {
|
|
"extra-data": "hello",
|
|
yy: 9,
|
|
direction: 10
|
|
}), React.createElement(TestingOneThing, {
|
|
"extra-data": "hello",
|
|
yy: "hello",
|
|
name: "Bob"
|
|
}), React.createElement(TestingOptional, null), React.createElement(TestingOptional, {
|
|
y1: "hello"
|
|
}), React.createElement(TestingOptional, {
|
|
y1: "hello",
|
|
y2: 1000
|
|
}), React.createElement(TestingOptional, {
|
|
y1: !0,
|
|
y3: !0
|
|
}), React.createElement(TestingOptional, {
|
|
y1: !0,
|
|
y3: !0,
|
|
y2: 10
|
|
}), React.createElement(TestingOptional, {
|
|
y1: !0,
|
|
y3: !0,
|
|
"extra-prop": !0
|
|
});
|
|
export { };
|