import React, { useState } from 'react'; import type { StepsProps } from 'antd'; import { Card, Radio, Steps } from 'antd'; const App: React.FC = () => { const [size, setSize] = useState('default'); const description = 'This is a description.'; const horizontalSteps = ( ); return ( <> setSize(e.target.value)} > Small Default ); }; export default App;