Files
bun-src/test/bundler/transpiler/react-compiler-fixtures/prop-capturing-function-1.js
T
2026-08-27 21:09:14 +00:00

14 lines
214 B
JavaScript

function component(a, b) {
let z = {a, b};
let x = function () {
console.log(z);
};
return x;
}
export const FIXTURE_ENTRYPOINT = {
fn: component,
params: ['TodoAdd'],
isComponent: 'TodoAdd',
};