import * as React from 'react';

type TabItem = {
    title?: any;
    icon?: string;
    name: string;
    icon?: string;
    content?:React.ReactNode;
    [properName:string]: any
  };

export interface TabLayoutProps {
  defaultKey?:string;
  activeKey?:string;
  onTabChange?: (item:TabList, index:number) => void;
  tabList:TabItem[];
  isRightHead?:boolean;
  [properName:string]: any
}

declare const TabLayout: React.FunctionComponent<TabLayoutProps>;

export default TabLayout;
