Augment react-router module with react-router-relay typings

前端 未结 2 953
礼貌的吻别
礼貌的吻别 2021-02-19 02:40

The default react-router is used as such:

import * as React from \'react\';
import { Router, Route, hashHistory } from \'react-router\';

const routing = (
    &         


        
2条回答
  •  耶瑟儿~
    2021-02-19 03:27

    
        
       
    

    Looks like login (component={Login}) is not Imported.Hence, It always return an error.

提交回复
热议问题