import React from 'react';
import { Tabs, TabsProps } from 'antd';
import style from './style.module.less';

export interface MiniTabsProp extends TabsProps {}

const MiniTabs: React.FC<MiniTabsProp> = function ({ children, ...props }) {
  return (
    <Tabs className={style.Tabs} {...props}>
      {children}
    </Tabs>
  );
};

export default MiniTabs;
