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

Interface SectionsContextInterface

pwa/contexts/con/SectionsContext.tsx:3–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { createContext } from "react";
2
3interface SectionsContextInterface {
4 sectionsVisibles: string[];
5 setSectionsVisibles: (sections: string[]) => void;
6}
7
8const SectionsContext = createContext<SectionsContextInterface | null>(null);
9

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected