15 lines
No EOL
289 B
JavaScript
15 lines
No EOL
289 B
JavaScript
import { identity, mutate } from "shared-runtime";
|
|
function Component(props) {
|
|
const key = {};
|
|
const context = {
|
|
[key]: [props.value] |> identity(%)
|
|
};
|
|
key |> mutate(%);
|
|
return context;
|
|
}
|
|
export const FIXTURE_ENTRYPOINT = {
|
|
fn: Component,
|
|
params: [{
|
|
value: 42
|
|
}]
|
|
}; |