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