import React, { useState } from 'react'; import type { StepsProps } from 'antd'; import { Button, Steps } from 'antd'; const App: React.FC = () => { const [percent, setPercentage] = useState(0); const [current, setCurrent] = useState(1); const [status, setStatus] = useState('process'); const description = 'This is a description.'; const items = [ { title: 'Finished', description, }, { title: 'In Progress', subTitle: 'Left 00:00:08', description, }, { title: 'Waiting', description, }, ]; return ( <> ); }; export default App;