mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
14 lines
357 B
TypeScript
14 lines
357 B
TypeScript
import type { RouteProps } from "react-router";
|
|
import { buildURL } from "../../../common/utils/buildUrl";
|
|
|
|
export interface IClusterViewRouteParams {
|
|
clusterId: string;
|
|
}
|
|
|
|
export const clusterViewRoute: RouteProps = {
|
|
exact: true,
|
|
path: "/cluster/:clusterId",
|
|
}
|
|
|
|
export const clusterViewURL = buildURL<IClusterViewRouteParams>(clusterViewRoute.path)
|