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