diff --git a/src/components/Todo.tsx b/src/components/Todo.tsx new file mode 100644 index 0000000..4bde74a --- /dev/null +++ b/src/components/Todo.tsx @@ -0,0 +1,14 @@ +import { Typography } from 'antd'; + +const { Title, Text } = Typography; + +const Todo: React.FC = () => { + return ( +
+ 施工中... + {'// TODO'} +
+ ); +}; + +export default Todo; diff --git a/src/router.tsx b/src/router.tsx index d1e8a3e..c4a7d2a 100644 --- a/src/router.tsx +++ b/src/router.tsx @@ -1,12 +1,15 @@ import { Routes, Route } from 'react-router-dom'; +import Todo from './components/Todo'; export const AppRouter: React.FC = () => { return ( - Main

} /> - Hello1

} /> - Hello1

} /> - Hello1

} /> + } /> + } /> + } /> + } /> + } /> + } />
); };