import React from 'react' import { createLazyRoute, Outlet } from '@tanstack/react-router' interface ITreePageLayoutProps { children: React.ReactNode } const TreePageLayout: React.FC = (props) => { return ( <> {props.children} ) } export const GenRoute = (id: string) => createLazyRoute(id)({ component: TreePageLayout, })