Miao-Yunzai/image/types.ts

7 lines
184 B
TypeScript

import { type ComponentCreateOpsionType } from '../src/utils/component.js'
export type RouterType = {
url: string
element: React.ReactNode
options: ComponentCreateOpsionType
}[]