@forge/react
11.18.0-next.011.18.0-next.1
out/router/components/Router.d.ts+
out/router/components/Router.d.tsNew file+19
Index: package/out/router/components/Router.d.ts
===================================================================
--- package/out/router/components/Router.d.ts
+++ package/out/router/components/Router.d.ts
@@ -0,0 +1,19 @@
+import { ForgeChildren, ForgeNode } from '../../types';
+export interface RouterProps {
+ /**
+ * @type Route
+ * The child elements to render within the router. Typically contains one or more Route components.
+ */
+ children: ForgeChildren;
+ /**
+ * A fallback value to render when no Route child has a path matching the current path.
+ */
+ fallback?: ForgeNode | null;
+}
+/**
+ * Router provides client-side routing by allowing content to be rendered based on the current URL path.
+ *
+ * @see [Router](https://developer.atlassian.com/platform/forge/ui-kit/components/router/) in UI Kit documentation for more information
+ */
+export declare const Router: ({ children, fallback }: RouterProps) => import("react/jsx-runtime").JSX.Element;
+//# sourceMappingURL=Router.d.ts.map
\ No newline at end of file