mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-23 23:18:36 +08:00
14 lines
392 B
TypeScript
14 lines
392 B
TypeScript
import React from 'react';
|
|
import { Flex, Progress } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Flex vertical gap="small" style={{ width: 180 }}>
|
|
<Progress percent={30} size="small" />
|
|
<Progress percent={50} size="small" status="active" />
|
|
<Progress percent={70} size="small" status="exception" />
|
|
<Progress percent={100} size="small" />
|
|
</Flex>
|
|
);
|
|
|
|
export default App;
|