mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 20:38:45 +08:00
167 lines
2.7 KiB
Plaintext
167 lines
2.7 KiB
Plaintext
exports[`test renders ./components/popover/demo/arrow-point-at-center.md correctly 1`] = `
|
|
<div>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
Align edge / 边缘对齐
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
Arrow points to center / 箭头指向中心
|
|
</span>
|
|
</button>
|
|
</div>
|
|
`;
|
|
|
|
exports[`test renders ./components/popover/demo/basic.md correctly 1`] = `
|
|
<button
|
|
class="ant-btn ant-btn-primary"
|
|
type="button">
|
|
<span>
|
|
Hover me
|
|
</span>
|
|
</button>
|
|
`;
|
|
|
|
exports[`test renders ./components/popover/demo/control.md correctly 1`] = `
|
|
<button
|
|
class="ant-btn ant-btn-primary"
|
|
type="button">
|
|
<span>
|
|
Cilck me
|
|
</span>
|
|
</button>
|
|
`;
|
|
|
|
exports[`test renders ./components/popover/demo/placement.md correctly 1`] = `
|
|
<div
|
|
class="demo">
|
|
<div
|
|
style="margin-left:70px;white-space:nowrap;">
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
TL
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
Top
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
TR
|
|
</span>
|
|
</button>
|
|
</div>
|
|
<div
|
|
style="width:70px;float:left;">
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
LT
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
Left
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
LB
|
|
</span>
|
|
</button>
|
|
</div>
|
|
<div
|
|
style="width:70px;margin-left:304px;">
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
RT
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
Right
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
RB
|
|
</span>
|
|
</button>
|
|
</div>
|
|
<div
|
|
style="margin-left:70px;clear:both;white-space:nowrap;">
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
BL
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
Bottom
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
BR
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`test renders ./components/popover/demo/triggerType.md correctly 1`] = `
|
|
<div>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
Hover me
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
Focus me
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn"
|
|
type="button">
|
|
<span>
|
|
Click me
|
|
</span>
|
|
</button>
|
|
</div>
|
|
`;
|