ant-design/components/button/demo/chinese-chars-loading.tsx
二货爱吃白萝卜 2cdf586291
chore: fix lint (#43873)
* chore: fix lint

* chore: fix lint

* test: fix 16

* fix: lint
2023-07-28 16:17:43 +08:00

30 lines
621 B
TypeScript

// @ts-nocheck
import { PoweroffOutlined } from '@ant-design/icons';
import React from 'react';
import { Button, Space } from 'antd';
const Text1 = () => '部署';
const Text2 = () => <span></span>;
const Text3 = () => 'Submit';
const App: React.FC = () => (
<Space wrap>
<Button loading></Button>
<Button loading>
<Text1 />
</Button>
<Button loading>
<Text2 />
</Button>
<Button loading>
<Text3 />
</Button>
<Button loading icon={<PoweroffOutlined />}>
<Text1 />
</Button>
<Button loading></Button>
</Space>
);
export default App;