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

178 lines
2.8 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>
2017-07-07 19:45:59 +08:00
</div>
`;
exports[`renders ./components/tooltip/demo/auto-adjust-overflow.md correctly 1`] = `
<div
2017-09-20 16:26:18 +08:00
style="overflow:hidden;position:relative;padding:24px;border:1px solid #e9e9e9"
2017-07-07 19:45:59 +08:00
>
<button
class="ant-btn"
type="button"
>
<span>
Adjust automatically / 自动调整
</span>
</button>
<br />
<button
class="ant-btn"
type="button"
>
<span>
Ignore / 不处理
2017-07-07 19:45:59 +08:00
</span>
</button>
2016-11-22 14:28:05 +08:00
</div>
`;
exports[`renders ./components/tooltip/demo/basic.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<span>
Tooltip will show on mouse enter.
2016-11-22 14:28:05 +08:00
</span>
`;
exports[`renders ./components/tooltip/demo/destroy-tooltip-on-hide.md correctly 1`] = `
<span>
Tooltip will destroy when hidden.
</span>
`;
exports[`renders ./components/tooltip/demo/placement.md correctly 1`] = `
2017-10-16 19:53:46 +08:00
<div
class="demo"
>
2016-11-22 14:28:05 +08:00
<div
2017-10-16 19:53:46 +08:00
style="margin-left:70px;white-space:nowrap"
>
2017-10-16 19:53:46 +08:00
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
TL
</span>
</button>
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
Top
</span>
</button>
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
TR
</span>
</button>
2016-11-22 14:28:05 +08:00
</div>
<div
2017-10-16 19:53:46 +08:00
style="width:70px;float:left"
>
2017-10-16 19:53:46 +08:00
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
LT
</span>
</button>
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
Left
</span>
</button>
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
LB
</span>
</button>
2016-11-22 14:28:05 +08:00
</div>
<div
2017-10-16 19:53:46 +08:00
style="width:70px;margin-left:304px"
>
2017-10-16 19:53:46 +08:00
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
RT
</span>
</button>
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
Right
</span>
</button>
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
RB
</span>
</button>
2016-11-22 14:28:05 +08:00
</div>
<div
2017-10-16 19:53:46 +08:00
style="margin-left:70px;clear:both;white-space:nowrap"
>
2017-10-16 19:53:46 +08:00
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
BL
</span>
</button>
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
Bottom
</span>
</button>
<button
class="ant-btn"
type="button"
>
2017-10-16 19:53:46 +08:00
<span>
BR
</span>
</button>
2016-11-22 14:28:05 +08:00
</div>
</div>
`;