import { Component, ContextType, ReactNode } from 'react'; import { TabPaneId, TabsContext } from './tabs-context'; export interface TabPaneProps { /** * 自定义 class */ className?: string; /** * 唯一标识 */ id: TabPaneId; /** * 标签页上的内容 */ label: ReactNode; /** * 是否禁用 */ disabled?: boolean; /** * 是否可删除 */ deletable?: boolean; /** * tab 标签页的状态 * - 仅 type card 支持 * - 暂时只有 'normal' | 'error' */ status?: 'normal' | 'error'; } export declare class TabPane extends Component { static displayName: string; static defaultProps: { className: string; status: string; }; static contextType: import("react").Context; context: ContextType; get className(): string; get isActive(): boolean; render(): import("react/jsx-runtime").JSX.Element; }