--- order: 10 title: zh-CN: 可点击 en-US: Clickable --- ## zh-CN 设置 `onChange` 后,Steps 变为可点击状态。 ## en-US Setting `onChange` makes Steps clickable. ```tsx import { Divider, Steps } from 'antd'; import React, { useState } from 'react'; const App: React.FC = () => { const [current, setCurrent] = useState(0); const onChange = (value: number) => { console.log('onChange:', current); setCurrent(value); }; const description = 'This is a description.'; return ( <> ); }; export default App; ```