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

Function Menu

starters/hooks/src/Menu.tsx:91–97  ·  view source on GitHub ↗
(props: AriaMenuOptions<object> & TreeProps<object>)

Source from the content-addressed store, hash-verified

89}
90
91function Menu(props: AriaMenuOptions<object> & TreeProps<object>) {
92 return (
93 <CollectionBuilder content={<Collection {...props} />}>
94 {collection => <MenuInner {...props} collection={collection} />}
95 </CollectionBuilder>
96 );
97}
98
99function MenuInner({
100 collection,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected