27 lines
826 B
TypeScript
27 lines
826 B
TypeScript
import type { TabsProps } from 'antd';
|
|
import React from 'react';
|
|
import type { ProCardTabPaneProps, ProCardTabsProps } from '../../typing';
|
|
export declare function useLegacyItems(items?: TabsProps['items'], children?: React.ReactNode, tabs?: ProCardTabsProps): {
|
|
children: import("react/jsx-runtime").JSX.Element;
|
|
label: React.ReactNode;
|
|
className?: string;
|
|
style?: React.CSSProperties;
|
|
disabled?: boolean;
|
|
forceRender?: boolean;
|
|
closable?: boolean;
|
|
closeIcon?: React.ReactNode;
|
|
icon?: React.ReactNode;
|
|
prefixCls?: string;
|
|
tabKey?: string;
|
|
id?: string;
|
|
animated?: boolean;
|
|
active?: boolean;
|
|
destroyInactiveTabPane?: boolean;
|
|
key: string;
|
|
}[];
|
|
/**
|
|
* @deprecated ProComponets 3.0
|
|
*/
|
|
declare const TabPane: React.FC<ProCardTabPaneProps>;
|
|
export default TabPane;
|