MCPcopy Create free account
hub / github.com/api-platform/website / SectionsContextInterface

Interface SectionsContextInterface

pwa/components/con/home/Section.tsx:15–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15interface SectionsContextInterface {
16 sectionsVisibles: string[];
17 setSectionsVisibles: (sections: string[]) => void;
18 isVisible: (section: string) => boolean;
19}
20
21export const SectionsContext = createContext<SectionsContextInterface>({
22 sectionsVisibles: [],

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected