MCPcopy Create free account
hub / github.com/ReactTooltip/react-tooltip / getVersionMainDoc

Function getVersionMainDoc

docs/src/theme/DocVersionBanner/index.js:85–85  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

83 } = useDocusaurusContext()
84 const { pluginId } = useActivePlugin({ failfast: true })
85 const getVersionMainDoc = (version) => version.docs.find((doc) => doc.id === version.mainDocId)
86 const { savePreferredVersionName } = useDocsPreferredVersion(pluginId)
87 const { latestDocSuggestion, latestVersionSuggestion } = useDocVersionSuggestions(pluginId)
88

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected