@plaso-design/pro-card
Version:
@plaso-design/pro-card
27 lines (26 loc) • 960 B
TypeScript
import type { TabsProps } from 'plasod';
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 | undefined;
id?: string | undefined;
className?: string | undefined;
prefixCls?: string | undefined;
closable?: boolean | undefined;
closeIcon?: React.ReactNode;
disabled?: boolean | undefined;
forceRender?: boolean | undefined;
icon?: React.ReactNode;
active?: boolean | undefined;
animated?: boolean | undefined;
destroyInactiveTabPane?: boolean | undefined;
tabKey?: string | undefined;
}[];
/**
* @deprecated ProComponets 3.0
*/
declare const TabPane: React.FC<ProCardTabPaneProps>;
export default TabPane;