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

48 lines
2.2 KiB
Plaintext
Raw Normal View History

2018-05-15 01:52:44 +00:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/tooltip/demo/arrow-point-at-center.md correctly 1`] = `
<div>
<button type="button" class="ant-btn ant-btn-default"><span>Align edge / 边缘对齐</span></button>
<button type="button" class="ant-btn ant-btn-default"><span>Arrow points to center / 箭头指向中心</span></button>
</div>
`;
exports[`renders ./components/tooltip/demo/auto-adjust-overflow.md correctly 1`] = `
<div style="overflow:hidden;position:relative;padding:24px;border:1px solid #e9e9e9;">
<button type="button" class="ant-btn ant-btn-default"><span>Adjust automatically / 自动调整</span></button>
<br>
<button type="button" class="ant-btn ant-btn-default" style="margin-top:10px;"><span>Ingore / 不处理</span></button>
</div>
`;
exports[`renders ./components/tooltip/demo/basic.md correctly 1`] = `
<span>
Tooltip will show when mouse enter.
</span>
`;
exports[`renders ./components/tooltip/demo/placement.md correctly 1`] = `
<div id="components-a-tooltip-demo-placement">
<div style="margin-left:70px;white-space:nowrap;">
<button type="button" class="ant-btn ant-btn-default"><span>TL</span></button>
<button type="button" class="ant-btn ant-btn-default"><span>Top</span></button>
<button type="button" class="ant-btn ant-btn-default"><span>TR</span></button>
</div>
<div style="width:70px;float:left;">
<button type="button" class="ant-btn ant-btn-default"><span>LT</span></button>
<button type="button" class="ant-btn ant-btn-default"><span>Left</span></button>
<button type="button" class="ant-btn ant-btn-default"><span>LB</span></button>
</div>
<div style="width:70px;margin-left:304px;">
<button type="button" class="ant-btn ant-btn-default"><span>RT</span></button>
<button type="button" class="ant-btn ant-btn-default"><span>Right</span></button>
<button type="button" class="ant-btn ant-btn-default"><span>RB</span></button>
</div>
<div style="margin-left:70px;clear:both;white-space:nowrap;">
<button type="button" class="ant-btn ant-btn-default"><span>BL</span></button>
<button type="button" class="ant-btn ant-btn-default"><span>Bottom</span></button>
<button type="button" class="ant-btn ant-btn-default"><span>BR</span></button>
</div>
</div>
`;