({layout = 'grid', orientation = 'vertical', ...props}: GridListProps)
| 77 | }; |
| 78 | |
| 79 | export function GridList({layout = 'grid', orientation = 'vertical', ...props}: GridListProps) { |
| 80 | return ( |
| 81 | <CollectionBuilder content={<Collection {...props} />}> |
| 82 | {collection => ( |
| 83 | <GridListInner |
| 84 | {...props} |
| 85 | collection={collection} |
| 86 | layout={layout} |
| 87 | orientation={orientation} |
| 88 | /> |
| 89 | )} |
| 90 | </CollectionBuilder> |
| 91 | ); |
| 92 | } |
| 93 | |
| 94 | function GridListInner({ |
| 95 | collection, |
nothing calls this directly
no outgoing calls
no test coverage detected