fix: fix wrong button icon size and margin (#42516)
parent
91c16381be
commit
5d53884919
@ -0,0 +1,7 @@
|
||||
## zh-CN
|
||||
|
||||
特殊处理 Down icon。
|
||||
|
||||
## en-US
|
||||
|
||||
Specially handle Down icon.
|
@ -0,0 +1,13 @@
|
||||
import { DownOutlined } from '@ant-design/icons';
|
||||
import { Dropdown, Space } from 'antd';
|
||||
import React from 'react';
|
||||
|
||||
const App: React.FC = () => (
|
||||
<Space>
|
||||
<Dropdown.Button icon={<DownOutlined />} menu={{ items: [] }}>
|
||||
Submit
|
||||
</Dropdown.Button>
|
||||
</Space>
|
||||
);
|
||||
|
||||
export default App;
|
Loading…
Reference in New Issue