@forge/react
11.18.0-next.011.18.0-next.1
out/router/hooks/useLocation.d.ts+
out/router/hooks/useLocation.d.tsNew file+9
Index: package/out/router/hooks/useLocation.d.ts
===================================================================
--- package/out/router/hooks/useLocation.d.ts
+++ package/out/router/hooks/useLocation.d.ts
@@ -0,0 +1,9 @@
+import type { Location } from 'history';
+/**
+ * This hook returns the current location object, which contains information about the current URL. It updates automatically when the user navigates to a different route.
+ * It must be used within a Router component.
+ *
+ * @see [useLocation](https://developer.atlassian.com/platform/forge/ui-kit/hooks/use-location/) in UI Kit documentation for more information
+ */
+export declare const useLocation: () => Location;
+//# sourceMappingURL=useLocation.d.ts.map
\ No newline at end of file