ant-design/components/button/demo/chinese-chars-loading.tsx
2023-09-27 20:17:40 +08:00

35 lines
703 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>
<span>
<span></span>
</span>
</Button>
<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;