feat: update
This commit is contained in:
@ -1,18 +1,21 @@
|
||||
import React from 'react';
|
||||
|
||||
import BaseTabBar from '@/components/tab-bar';
|
||||
import { PageType } from '@/constants/app';
|
||||
|
||||
import './index.less';
|
||||
|
||||
interface IProps extends React.PropsWithChildren {}
|
||||
interface IProps extends React.PropsWithChildren {
|
||||
type: PageType;
|
||||
}
|
||||
|
||||
export default function HomePage(props: IProps) {
|
||||
const { children } = props;
|
||||
const { children, type } = props;
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
{children}
|
||||
<BaseTabBar />
|
||||
<BaseTabBar type={type} />
|
||||
</React.Fragment>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user