import React from 'react'; import { Link, NavLink } from 'react-router-dom'; import { RouterDebugger } from './RouterDebugger'; import { RouteDescriptor } from './types'; export const testRoutes: RouteDescriptor[] = [ { path: '/test1', // eslint-disable-next-line react/display-name component: () => ( <>

Test1

Test2 link Test2 navlink ) as any, }, { path: '/test2', // eslint-disable-next-line react/display-name component: () => ( <>

Test2

Test1 link Test1 navlink ), }, { path: '/router-debug', // eslint-disable-next-line react/display-name component: () => RouterDebugger, }, ];