mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 11:32:52 +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
|
```jsx
|
||||||
// works when >=4.24.0, recommended ✅
|
// works when >=4.24.0, recommended ✅
|
||||||
const items = [{ title: 'first step' }, { title: 'second step' }, { title: 'third step' }];
|
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 🙅🏻♀️
|
// works when <4.24.0, deprecated when >=4.24.0 🙅🏻♀️
|
||||||
<Steps>
|
<Steps>
|
||||||
|
Loading…
Reference in New Issue
Block a user