import React from 'react';
import {Tabs} from 'antd-mobile'
import './index.less'

const Index = (props) => {
    return (
        <div className="blank-tab-card">
            <Tabs
                page={props.page}
                tabs={props.tabs}
                initialPage={"basic"}
                onChange={(tab, index) => props.onClick(tab.key, index)}
            />
        </div>
    );
};

export default Index;
