@ant-design/pro-card
Version:
27 lines (26 loc) • 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;
key: string;
label: React.ReactNode;
style?: React.CSSProperties;
prefixCls?: string;
closable?: boolean;
closeIcon?: React.ReactNode;
className?: string;
id?: string;
disabled?: boolean;
active?: boolean;
icon?: React.ReactNode;
forceRender?: boolean;
animated?: boolean;
destroyInactiveTabPane?: boolean;
tabKey?: string;
}[];
/**
* @deprecated ProComponets 3.0
*/
declare const TabPane: React.FC<ProCardTabPaneProps>;
export default TabPane;