import React from 'react'; import { Tabs, TabsProps } from 'antd'; const customTabBar: TabsProps['renderTabBar'] = (props, DefaultTabBar) => ( ); function CustomizedTabs({ items, onChange, activeKey, }: { items: { key: string; label: React.ReactNode }[]; onChange: (key: string) => void; activeKey: string; }) { const customItems = items.map((i) => ({ ...i, content:
placeholder
, })); return ( ); } export default CustomizedTabs;