mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-14 08:51:26 +08:00
65f067eb13
* feat: support items * feat: update demo * test: update package * test: update use type * test: update for test * test: update for lint * feat: update doc * test: update for lint * test: update for lint * test: update for lint * test: add deprecated dome * test: add deprecated dome * doc: update doc * feat: update package * test: add test case
554 B
554 B
order | title | ||||
---|---|---|---|---|---|
1 |
|
zh-CN
迷你版的步骤条,通过设置 <Steps size="small">
启用.
en-US
By setting like this: <Steps size="small">
, you can get a mini version.
import { Steps } from 'antd';
import React from 'react';
const App: React.FC = () => (
<Steps
size="small"
current={1}
items={[
{
title: 'Finished',
},
{
title: 'In Progress',
},
{
title: 'Waiting',
},
]}
/>
);
export default App;