@forge/react
11.18.0-next.011.18.0-next.1
out/router/components/Route.d.ts+
out/router/components/Route.d.tsNew file+20
Index: package/out/router/components/Route.d.ts
===================================================================
--- package/out/router/components/Route.d.ts
+++ package/out/router/components/Route.d.ts
@@ -0,0 +1,20 @@
+import { ForgeChildren } from '../../types';
+export interface RouteProps {
+ /**
+ * The URL path pattern to match against the current location. Supports static segments, dynamic parameters (e.g. :id), and a catch-all wildcard (*).
+ * @type string
+ */
+ path: string;
+ /**
+ * The content to render when the path matches the current location.
+ * @type ForgeElement
+ */
+ children: ForgeChildren;
+}
+/**
+ * Route conditionally renders its children when the current URL path matches its path prop. It must be used within a Router component.
+ *
+ * @see [Route](https://developer.atlassian.com/platform/forge/ui-kit/components/router/#route) in UI Kit documentation for more information
+ */
+export declare const Route: ({ path, children }: RouteProps) => import("react/jsx-runtime").JSX.Element | null;
+//# sourceMappingURL=Route.d.ts.map
\ No newline at end of file