2018-05-15 01:52:44 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-09-05 13:58:32 +00:00
|
|
|
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>`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
2018-09-05 13:58:32 +00:00
|
|
|
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>`;
|
2018-05-15 01:52:44 +00:00
|
|
|
|
|
|
|
exports[`renders ./components/tooltip/demo/basic.md correctly 1`] = `
|
2018-05-18 14:04:10 +00:00
|
|
|
<span class="">
|
2018-12-14 01:22:58 +00:00
|
|
|
Tooltip will show when mouse enter.
|
|
|
|
</span>
|
2018-05-15 01:52:44 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/tooltip/demo/placement.md correctly 1`] = `
|
|
|
|
<div id="components-a-tooltip-demo-placement">
|
2018-09-05 13:58:32 +00:00
|
|
|
<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>
|
2018-05-15 01:52:44 +00:00
|
|
|
</div>
|
|
|
|
`;
|