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

35 lines
1.2 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./antdv-demo/docs/affix/demo/basic.md correctly 1`] = `
2020-11-23 08:39:09 +00:00
<div style="width: 0px; height: 0px;">
<div class="ant-affix" style="position: fixed; top: 10px; width: 0px; height: 0px;"><button class="ant-btn ant-btn-primary" type="button">
2020-08-31 09:16:16 +00:00
<!----><span>Affix top</span>
</button></div>
2020-08-13 02:51:53 +00:00
</div><br>
<div>
<div class=""><button class="ant-btn ant-btn-primary" type="button">
2020-08-31 09:16:16 +00:00
<!----><span>Affix bottom</span>
</button></div>
</div>
`;
exports[`renders ./antdv-demo/docs/affix/demo/on-change.md correctly 1`] = `
2020-11-23 08:39:09 +00:00
<div style="width: 0px; height: 0px;">
<div class="ant-affix" style="position: fixed; top: 120px; width: 0px; height: 0px;"><button class="ant-btn" type="button">
2020-08-31 09:16:16 +00:00
<!----><span>120px to affix top</span>
</button></div>
</div>
`;
exports[`renders ./antdv-demo/docs/affix/demo/target.md correctly 1`] = `
<div id="components-affix-demo-target" class="scrollable-container">
<div class="background">
<div>
2020-08-13 02:51:53 +00:00
<div class=""><button class="ant-btn ant-btn-primary" type="button">
2020-08-31 09:16:16 +00:00
<!----><span>Fixed at the top of container</span>
</button></div>
</div>
</div>
</div>
`;