删除无用代码, 工具类和 组件 没有删除 , 以后可以借鉴写法和创建规则
This commit is contained in:
12
src/layouts/Index.tsx
Normal file
12
src/layouts/Index.tsx
Normal file
@ -0,0 +1,12 @@
|
||||
import React from 'react';
|
||||
import Header from './Header';
|
||||
const LayoutIndex: React.FC = (props) => {
|
||||
const { children } = props;
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
{children}
|
||||
</>
|
||||
);
|
||||
};
|
||||
export default LayoutIndex;
|
Reference in New Issue
Block a user