main
js 16 lines 295 Bytes
Raw
1 import {identity} from 'shared-runtime';
2
3 const SCALE = 2;
4
5 function Component(props) {
6 const key = SCALE;
7 const context = {
8 [key]: identity([props.value]),
9 };
10 return context;
11 }
12
13 export const FIXTURE_ENTRYPOINT = {
14 fn: Component,
15 params: [{key: 'Sathya', value: 'Compiler'}],
16 };