📜  到达路由器路径打字稿错误 - 打字稿代码示例

📅  最后修改于: 2022-03-11 14:48:28.191000             🧑  作者: Mango

代码示例1
import React, { FunctionComponent } from "react";
import { RouteComponentProps } from "@reach/router";

type Props = { component: FunctionComponent } & RouteComponentProps;

const Route: FunctionComponent = ({ component: Component, ...rest }) => (
  
);

export default Route;