ant-design/components/button/demo/chinese-chars-loading.tsx
thinkasany f566e3b24b
type: supplementary React.FC type (#43410)
* type: supplementary React.FC  type

* fix: remove useless code

* revert: remove useStyle

* revert: card-top

* Update card-top.tsx
2023-07-06 23:54:03 +08:00

30 lines
621 B
TypeScript

// @ts-nocheck
import { PoweroffOutlined } from '@ant-design/icons';
import { Button, Space } from 'antd';
import React from 'react';
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;