MCPcopy
hub / github.com/OpenCut-app/OpenCut / useSectionContext

Function useSectionContext

apps/web/src/components/section.tsx:19–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17const SectionCtx = createContext<SectionContext | null>(null);
18
19function useSectionContext() {
20 return useContext(SectionCtx);
21}
22
23interface SectionProps {
24 children: React.ReactNode;

Callers 3

SectionHeaderFunction · 0.70
SectionTitleFunction · 0.70
SectionContentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected