MCPcopy Create free account
hub / github.com/callstack/react-native-paper / useDoc

Function useDoc

docs/component-docs-plugin/useDocs.tsx:40–43  ·  view source on GitHub ↗
(withPath: string)

Source from the content-addressed store, hash-verified

38}
39
40function useDoc(withPath: string) {
41 const pluginData = usePluginData(pluginName) as ComponentDocsPluginData;
42 return pluginData?.docs?.[withPath];
43}
44
45export default useDoc;

Callers 1

PropTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…