Browse Source

style: format dropdown-button.md

pull/15996/head
DiamondYuan 6 years ago
parent
commit
abdebe8f68
  1. 13
      components/dropdown/demo/dropdown-button.md

13
components/dropdown/demo/dropdown-button.md

@ -43,10 +43,19 @@ ReactDOM.render(
<Dropdown.Button onClick={handleButtonClick} overlay={menu}>
Dropdown
</Dropdown.Button>
<Dropdown.Button overlay={menu} icon={<Icon type="user" />} style={{ marginLeft: 8 }}>
<Dropdown.Button
overlay={menu}
icon={<Icon type="user" />}
style={{ marginLeft: 8 }}
>
Dropdown
</Dropdown.Button>
<Dropdown.Button onClick={handleButtonClick} overlay={menu} disabled style={{ marginLeft: 8 }}>
<Dropdown.Button
onClick={handleButtonClick}
overlay={menu}
disabled
style={{ marginLeft: 8 }}
>
Dropdown
</Dropdown.Button>
<Dropdown overlay={menu}>

Loading…
Cancel
Save