NavigationMenuRefList() — supabase Function Reference
Architecture documentation for the NavigationMenuRefList() function in NavigationMenuRefList.tsx from the supabase codebase.
Entity Profile
Dependency Diagram
graph TD 2e914397_cb19_9bde_039d_d6bf9de08beb["NavigationMenuRefList()"] d51d9ade_45a5_ae0a_ea9b_29cd40464dd5["useCommonSections()"] 2e914397_cb19_9bde_039d_d6bf9de08beb -->|calls| d51d9ade_45a5_ae0a_ea9b_29cd40464dd5 23a8c235_adc2_398d_a1eb_1d361a5ddef3["useSpec()"] 2e914397_cb19_9bde_039d_d6bf9de08beb -->|calls| 23a8c235_adc2_398d_a1eb_1d361a5ddef3 style 2e914397_cb19_9bde_039d_d6bf9de08beb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
apps/docs/components/Navigation/NavigationMenu/NavigationMenuRefList.tsx lines 13–44
const NavigationMenuRefList = ({
id,
basePath,
commonSectionsFile,
specFile,
}: NavigationMenuRefListProps) => {
const commonSections = useCommonSections(commonSectionsFile, { enabled: !!commonSectionsFile })
const spec = useSpec(specFile)
if (!commonSections) {
return null
}
if (specFile && !spec) {
return null
}
const filteredSections = commonSections.filter((section) => {
return !section.excludes?.includes(id)
})
return (
<div className="transition-all duration-150 ease-out opacity-100 ml-0 delay-150 h-auto">
<NavigationMenuRefListItems
id={id}
commonSections={filteredSections}
spec={spec}
basePath={basePath}
/>
</div>
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does NavigationMenuRefList() do?
NavigationMenuRefList() is a function in the supabase codebase.
What does NavigationMenuRefList() call?
NavigationMenuRefList() calls 2 function(s): useCommonSections, useSpec.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free