Files
actual/node_modules/@docusaurus/theme-common/lib/utils/useLocalPathname.d.ts
Rich In SQL 28d4ee94dd Init
2022-10-16 20:28:33 +01:00

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