6 lines
No EOL
168 B
JavaScript
6 lines
No EOL
168 B
JavaScript
function Component(props) {
|
|
const x = [];
|
|
props.items?.length |> x.push(%);
|
|
props.items?.edges?.map?.(render)?.filter?.(Boolean) ?? [] |> x.push(%);
|
|
return x;
|
|
} |