mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
parent
cc67f63785
commit
87817ea172
@ -22,7 +22,7 @@ ReactDOM.render(<Alert message="After version 4.24.0, we provide a simpler usage
|
||||
```jsx
|
||||
// works when >=4.24.0, recommended ✅
|
||||
const items = [{ title: 'first step' }, { title: 'second step' }, { title: 'third step' }];
|
||||
return <Tabs items={items} />;
|
||||
return <Steps items={items} />;
|
||||
|
||||
// works when <4.24.0, deprecated when >=4.24.0 🙅🏻♀️
|
||||
<Steps>
|
||||
|
Loading…
Reference in New Issue
Block a user