-
-
Notifications
You must be signed in to change notification settings - Fork 471
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9281234
commit 1c3a946
Showing
4 changed files
with
42 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
...formance/tests/babel-plugin-transform-react-jsx/test/fixtures/issues/issue-6638/input.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export function App() { | ||
return ( | ||
<Suspense fallback={"Loading..."}> | ||
<Init /> | ||
<PanelGroup direction="horizontal" className="app-main"> | ||
<Panel defaultSize={50} minSize={33} maxSize={66}> | ||
<Input /> | ||
</Panel> | ||
<PanelResizeHandle className="divider" /> | ||
<Panel> | ||
<Output /> | ||
</Panel> | ||
</PanelGroup> | ||
</Suspense> | ||
); | ||
} |
4 changes: 4 additions & 0 deletions
4
...mance/tests/babel-plugin-transform-react-jsx/test/fixtures/issues/issue-6638/options.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"plugins": [["transform-react-jsx"]], | ||
"sourceType": "module" | ||
} |
20 changes: 20 additions & 0 deletions
20
...formance/tests/babel-plugin-transform-react-jsx/test/fixtures/issues/issue-6638/output.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; | ||
export function App() { | ||
return _jsxs(Suspense, { | ||
fallback: "Loading...", | ||
children: [_jsx(Init, {}), _jsxs(PanelGroup, { | ||
direction: "horizontal", | ||
className: "app-main", | ||
children: [ | ||
_jsx(Panel, { | ||
defaultSize: 50, | ||
minSize: 33, | ||
maxSize: 66, | ||
children: _jsx(Input, {}) | ||
}), | ||
_jsx(PanelResizeHandle, { className: "divider" }), | ||
_jsx(Panel, { children: _jsx(Output, {}) }) | ||
] | ||
})] | ||
}); | ||
} |