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

Function MenuSection

starters/docs/src/Menu.tsx:72–74  ·  view source on GitHub ↗
(props: MenuSectionProps<T>)

Source from the content-addressed store, hash-verified

70}
71
72export function MenuSection<T>(props: MenuSectionProps<T>) {
73 return <AriaMenuSection {...props} />;
74}
75
76export function SubmenuTrigger(props: SubmenuTriggerProps) {
77 let [trigger, menu] = React.Children.toArray(props.children) as [

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected