Home
last modified time | relevance | path

Searched refs:stripVersionFromPath (Results 1 – 3 of 3) sorted by relevance

/expo/docs/ui/components/Sidebar/
H A DSidebarLink.tsx9 import { stripVersionFromPath } from '~/common/utilities';
40 const linkUrl = stripVersionFromPath(info.as || info.href);
42 linkUrl === stripVersionFromPath(router?.pathname) ||
43 linkUrl === stripVersionFromPath(router?.asPath)
H A DSidebarCollapsible.tsx11 import { stripVersionFromPath } from '~/common/utilities';
33 const linkUrl = stripVersionFromPath(section.as || section.href);
34 const pathname = stripVersionFromPath(router?.pathname);
35 const asPath = stripVersionFromPath(router?.asPath);
/expo/docs/common/
H A Dutilities.ts65 export const stripVersionFromPath = (path?: string) => { constant