Files
documentation/node_modules/@docusaurus/theme-common/lib/utils/useLocalPathname.d.ts
2024-03-22 03:47:51 +05:30

13 lines
448 B
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Get the pathname of current route, without the optional site baseUrl.
* - `/docs/myDoc` => `/docs/myDoc`
* - `/baseUrl/docs/myDoc` => `/docs/myDoc`
*/
export declare function useLocalPathname(): string;
//# sourceMappingURL=useLocalPathname.d.ts.map