mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
15 lines
325 B
JavaScript
15 lines
325 B
JavaScript
import Parent from './Parent';
|
|
import Child from './Child';
|
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
function MyComponent({
|
|
closeFn
|
|
}) {
|
|
var _Child;
|
|
return /*#__PURE__*/_jsx(Parent, {
|
|
render: () => _Child || (_Child = /*#__PURE__*/_jsx(Child, {
|
|
closeFn: closeFn
|
|
}))
|
|
});
|
|
}
|
|
export default Parent;
|