SourceFile context
const SourceFileContext: ComponentContext<SourceFileContext>
Accessor
Section titled “Accessor”const myContext = useContext(SourceFileContext);
Context interface
Section titled “Context interface”filetype | string |
path | string |
reference | optionalComponentDefinition<{
refkey: Refkey;
}> |