import React from 'react'
import { Tabs } from 'antd'
import Recent from './recent'
import Fav from './fav'
import HomePage from './homePage'
const { TabPane } = Tabs

class Welcome extends React.Component {
    constructor(props) {
        super(props);
        this.state = {

        }
    };
    render() {
        return (      
            <Tabs 
                className='dashboard-tabs'
                type="card"
                defaultActiveKey="1"
            >
                <TabPane tab="主页" key="1" >
                    <HomePage />
                </TabPane>
                <TabPane tab="收藏夹" key="2" >
                    <Fav />
                </TabPane>
                <TabPane tab="最近打开" key="3" >
                    <Recent />
                </TabPane>             
            </Tabs>
        )


    }
}

export default Welcome