ant-design/components/tooltip/__tests__/__snapshots__/demo.test.js.snap

110 lines
1.4 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/tooltip/demo/arrow-point-at-center.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<button
class="ant-btn"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
Align edge / 边缘对齐
</span>
</button>
<button
class="ant-btn"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
Arrow points to center / 箭头指向中心
</span>
</button>
</div>
`;
exports[`renders ./components/tooltip/demo/basic.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<span>
Tooltip will show when mouse enter.
2016-11-22 14:28:05 +08:00
</span>
`;
exports[`renders ./components/tooltip/demo/placement.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<div
style="margin-left:60px;"
>
2016-11-22 14:28:05 +08:00
<a
href="#"
>
2016-11-22 14:28:05 +08:00
TL
</a>
<a
href="#"
>
2016-11-22 14:28:05 +08:00
Top
</a>
<a
href="#"
>
2016-11-22 14:28:05 +08:00
TR
</a>
</div>
<div
style="width:60px;float:left;"
>
2016-11-22 14:28:05 +08:00
<a
href="#"
>
2016-11-22 14:28:05 +08:00
LT
</a>
<a
href="#"
>
2016-11-22 14:28:05 +08:00
Left
</a>
<a
href="#"
>
2016-11-22 14:28:05 +08:00
LB
</a>
</div>
<div
style="width:60px;margin-left:270px;"
>
2016-11-22 14:28:05 +08:00
<a
href="#"
>
2016-11-22 14:28:05 +08:00
RT
</a>
<a
href="#"
>
2016-11-22 14:28:05 +08:00
Right
</a>
<a
href="#"
>
2016-11-22 14:28:05 +08:00
RB
</a>
</div>
<div
style="margin-left:60px;clear:both;"
>
2016-11-22 14:28:05 +08:00
<a
href="#"
>
2016-11-22 14:28:05 +08:00
BL
</a>
<a
href="#"
>
2016-11-22 14:28:05 +08:00
Bottom
</a>
<a
href="#"
>
2016-11-22 14:28:05 +08:00
BR
</a>
</div>
</div>
`;