Miao-Yunzai/example/routes.tsx

18 lines
377 B
TypeScript
Raw Normal View History

2024-06-10 14:10:09 +08:00
import React from 'react'
import { type RouterType } from '../image/types.js'
import Hello from './hello.tsx'
/**
* *********
*
* routes.jsx
* routes.tsx
*
* *********
*/
export default [
{
url: '/',
element: <Hello data={{ name: 'word' }}></Hello>
}
] as RouterType