📅  最后修改于: 2022-03-11 14:48:28.191000             🧑  作者: Mango
import React, { FunctionComponent } from "react";
import { RouteComponentProps } from "@reach/router";
type Props = { component: FunctionComponent } & RouteComponentProps;
const Route: FunctionComponent = ({ component: Component, ...rest }) => (
);
export default Route;