import React from 'react'; interface propTypes { /** single/tab 'single' 单页面 'tab' tab切换 */ /** 'single' 单页面 才起作用 */ children?: React.ReactNode | null; /** title:tab标题 key:tab的key,content的组件*/ source?: sourceProps[]; /** tab传入的props*/ rest?: any; /** 是否标记为嵌套容器,嵌套容器可以再次作为panel的子组件,并适配样式*/ isNest?: boolean; /** 是否指定tab为左右显示 */ leftTab?: boolean; type?: any; nest?: number; tabShap?: "text" | "pure" | "wrapped" | "capsule"; next?: number; className?: string; } interface sourceProps { title?: string; key: string; content: any; length?: number; [index: string]: any; } interface defaultType { source: []; children: null; } declare class Container extends React.Component { static displayName: string; static defaultProps: defaultType; uuid: string; constructor(props: propTypes); componentDidMount(): void; addPadding: () => void; render(): JSX.Element; } export default Container;