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