ant-design/components/tabs/TabPane.ts
2023-08-28 09:38:50 +08:00

13 lines
309 B
TypeScript

import type * as React from 'react';
import type { TabPaneProps } from 'rc-tabs/lib/TabPanelList/TabPane';
const TabPane: React.FC<TabPaneProps> = () => null;
if (process.env.NODE_ENV !== 'production') {
TabPane.displayName = 'DeprecatedTabPane';
}
export type { TabPaneProps };
export default TabPane;