16 lines
308 B
JavaScript
16 lines
308 B
JavaScript
|
import { identity } from "shared-runtime";
|
||
|
const SCALE = 2;
|
||
|
function Component(props) {
|
||
|
const key = SCALE;
|
||
|
const context = {
|
||
|
[key]: [props.value] |> identity(%)
|
||
|
};
|
||
|
return context;
|
||
|
}
|
||
|
export const FIXTURE_ENTRYPOINT = {
|
||
|
fn: Component,
|
||
|
params: [{
|
||
|
key: "Sathya",
|
||
|
value: "Compiler"
|
||
|
}]
|
||
|
};
|