import React from 'react'; import type { StepsProps } from 'antd'; import { Flex, Steps, theme } from 'antd'; const items: StepsProps['items'] = Array.from({ length: 5 }, (_, index) => ({ title: `Step ${index + 1}`, subTitle: 'Sub Title', content: `This is Step ${index + 1}`, })); const App: React.FC = () => { const { token } = theme.useToken(); return ( ); }; export default App;