ant-design/components/button/demo/chinese-chars-loading.tsx
MadCcc ffbb19e090
chore: lint (#39102)
* chore: enable tsc for demos

* chore: site lint

* chore: fix lint
2022-11-30 11:05:41 +08:00

30 lines
611 B
TypeScript

// @ts-nocheck
import React from 'react';
import { PoweroffOutlined } from '@ant-design/icons';
import { Button, Space } from 'antd';
const Text1 = () => '部署';
const Text2 = () => <span></span>;
const Text3 = () => 'Submit';
const App = () => (
<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;