2016-11-22 14:28:05 +08:00
|
|
|
exports[`test renders ./components/dropdown/demo/basic.md correctly 1`] = `
|
|
|
|
<a
|
2016-12-03 17:33:46 +08:00
|
|
|
class="ant-dropdown-link ant-dropdown-trigger"
|
2016-11-22 14:28:05 +08:00
|
|
|
href="#">
|
|
|
|
Hover me
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-down" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</a>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/dropdown/demo/dropdown-button.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-btn-group ant-dropdown-button">
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-ghost"
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
Dropdown
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
2016-12-03 17:33:46 +08:00
|
|
|
class="ant-btn ant-btn-ghost ant-dropdown-trigger"
|
2016-11-22 14:28:05 +08:00
|
|
|
type="button">
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-down" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-btn-group ant-dropdown-button"
|
|
|
|
style="margin-left:8px;">
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-ghost"
|
|
|
|
disabled=""
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
Dropdown
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
2016-12-03 17:33:46 +08:00
|
|
|
class="ant-btn ant-btn-ghost ant-dropdown-trigger"
|
2016-11-22 14:28:05 +08:00
|
|
|
disabled=""
|
|
|
|
type="button">
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-down" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<button
|
2016-12-03 17:33:46 +08:00
|
|
|
class="ant-btn ant-btn-ghost ant-dropdown-trigger"
|
2016-11-22 14:28:05 +08:00
|
|
|
style="margin-left:8px;"
|
|
|
|
type="button">
|
|
|
|
<span>
|
|
|
|
Button
|
|
|
|
</span>
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-down" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/dropdown/demo/event.md correctly 1`] = `
|
|
|
|
<a
|
2016-12-03 17:33:46 +08:00
|
|
|
class="ant-dropdown-link ant-dropdown-trigger"
|
2016-11-22 14:28:05 +08:00
|
|
|
href="#">
|
|
|
|
Hover me, Click menu item
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-down" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</a>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/dropdown/demo/item.md correctly 1`] = `
|
|
|
|
<a
|
2016-12-03 17:33:46 +08:00
|
|
|
class="ant-dropdown-link ant-dropdown-trigger"
|
2016-11-22 14:28:05 +08:00
|
|
|
href="#">
|
|
|
|
Hover me
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-down" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</a>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/dropdown/demo/overlay-visible.md correctly 1`] = `
|
|
|
|
<a
|
2016-12-03 17:33:46 +08:00
|
|
|
class="ant-dropdown-link ant-dropdown-trigger"
|
2016-11-22 14:28:05 +08:00
|
|
|
href="#">
|
|
|
|
Hover me
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-down" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</a>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/dropdown/demo/sub-menu.md correctly 1`] = `
|
|
|
|
<a
|
2016-12-03 17:33:46 +08:00
|
|
|
class="ant-dropdown-link ant-dropdown-trigger"
|
2016-11-22 14:28:05 +08:00
|
|
|
href="#">
|
|
|
|
Cascading menu
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-down" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</a>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`test renders ./components/dropdown/demo/trigger.md correctly 1`] = `
|
|
|
|
<div>
|
|
|
|
<a
|
2016-12-03 17:33:46 +08:00
|
|
|
class="ant-dropdown-link ant-dropdown-trigger"
|
2016-11-22 14:28:05 +08:00
|
|
|
href="#">
|
|
|
|
Click me
|
|
|
|
<i
|
2016-11-30 10:20:23 +08:00
|
|
|
class="anticon anticon-down" />
|
2016-11-22 14:28:05 +08:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
`;
|