20 lines
358 B
JavaScript
20 lines
358 B
JavaScript
|
import { identity } from "shared-runtime";
|
||
|
function Component(props) {
|
||
|
const {
|
||
|
x: {
|
||
|
destructured
|
||
|
},
|
||
|
sameName: renamed
|
||
|
} = props;
|
||
|
const sameName = destructured |> identity(%);
|
||
|
return [sameName, renamed];
|
||
|
}
|
||
|
export const FIXTURE_ENTRYPOINT = {
|
||
|
fn: Component,
|
||
|
params: [{
|
||
|
x: {
|
||
|
destructured: 0
|
||
|
},
|
||
|
sameName: 2
|
||
|
}]
|
||
|
};
|