import React from 'react'
import FakeBrowser from '@alicloud/console-components-fake-browser'
import { Switch, Route, Link, RouteComponentProps } from 'dva/router'
const Home: React.FC = () => (
Home
)
const About: React.FC = () => (
About
)
const Topic: React.FC> = ({
match,
}) => (
Topic: {match.params.topicId}
This content is 1000px height.
)
const NotFound: React.FC = () => {
return 404 Not Found
}
const BasicExample = () => (
-
Home
-
About
-
Topic a
-
Topic b
-
wrong path
)
const AppRouter: React.FC = () => (
)
export default AppRouter