mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 21:28:09 +08:00
12 lines
319 B
TypeScript
12 lines
319 B
TypeScript
|
import React from 'react';
|
||
|
import { Flex, Progress } from 'antd';
|
||
|
|
||
|
const Demo = () => (
|
||
|
<Flex vertical gap="middle">
|
||
|
<Progress type="line" percent={50} showInfo={false} style={{ width: 320 }} />
|
||
|
<Progress percent={50} showInfo={false} size="small" style={{ width: 100 }} />
|
||
|
</Flex>
|
||
|
);
|
||
|
|
||
|
export default Demo;
|