MCPcopy Create free account
hub / github.com/adobe/react-spectrum / GridList

Function GridList

starters/hooks/src/GridList.tsx:79–92  ·  view source on GitHub ↗
({layout = 'grid', orientation = 'vertical', ...props}: GridListProps)

Source from the content-addressed store, hash-verified

77 };
78
79export 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
94function GridListInner({
95 collection,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected