1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import { lazy, Suspense } from 'react' import { PageLoading } from './PageLoading' const IconsPage = lazy(() => import('../pages/IconsPage').then((module) => ({ default: module.IconsPage, })), ) export function IconsRoute() { return ( <Suspense fallback={<PageLoading />}> <IconsPage /> </Suspense> ) }