14 lines
244 B
JavaScript
14 lines
244 B
JavaScript
const {ObjectWithHooks} = require('shared-runtime');
|
|
|
|
function Component(props) {
|
|
const x = [];
|
|
const [y] = ObjectWithHooks.useMakeArray();
|
|
x.push(y);
|
|
return y;
|
|
}
|
|
|
|
export const FIXTURE_ENTRYPOINT = {
|
|
fn: Component,
|
|
params: [{}],
|
|
};
|