ant-design/components/progress/demo/line.tsx
2024-02-20 15:02:22 +08:00

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;