111 lines
3.2 KiB
Plaintext
111 lines
3.2 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./components/modal/demo/async.vue correctly 1`] = `
|
|
<div><button class="ant-btn ant-btn-primary" type="button">
|
|
<!----><span>Open Modal with async logic</span>
|
|
</button>
|
|
<!---->
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/basic.vue correctly 1`] = `
|
|
<div><button class="ant-btn ant-btn-primary" type="button">
|
|
<!----><span>Open Modal</span>
|
|
</button>
|
|
<!---->
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/button-props.vue correctly 1`] = `
|
|
<div><button class="ant-btn ant-btn-primary" type="button">
|
|
<!----><span>Open Modal with customized button props</span>
|
|
</button>
|
|
<!---->
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/confirm.vue correctly 1`] = `
|
|
<div><button class="ant-btn" type="button">
|
|
<!----><span>Confirm</span>
|
|
</button><button class="ant-btn ant-btn-dashed" type="button">
|
|
<!----><span>Delete</span>
|
|
</button><button class="ant-btn ant-btn-dashed" type="button">
|
|
<!----><span>With extra props</span>
|
|
</button></div>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/confirm-promise.vue correctly 1`] = `
|
|
<button class="ant-btn" type="button">
|
|
<!----><span>Confirm</span>
|
|
</button>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/confirm-router.vue correctly 1`] = `
|
|
<button class="ant-btn" type="button">
|
|
<!----><span>Confirm</span>
|
|
</button>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/footer.vue correctly 1`] = `
|
|
<div><button class="ant-btn ant-btn-primary" type="button">
|
|
<!----><span>Open Modal with customized footer</span>
|
|
</button>
|
|
<!---->
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/fullscreen.vue correctly 1`] = `
|
|
<div><button class="ant-btn ant-btn-primary" type="button">
|
|
<!----><span>Open Modal</span>
|
|
</button>
|
|
<!---->
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/info.vue correctly 1`] = `
|
|
<div><button class="ant-btn" type="button">
|
|
<!----><span>Info</span>
|
|
</button><button class="ant-btn" type="button">
|
|
<!----><span>Success</span>
|
|
</button><button class="ant-btn" type="button">
|
|
<!----><span>Error</span>
|
|
</button><button class="ant-btn" type="button">
|
|
<!----><span>Warning</span>
|
|
</button></div>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/locale.vue correctly 1`] = `
|
|
<div><button class="ant-btn ant-btn-primary" type="button">
|
|
<!----><span>Modal</span>
|
|
</button><button class="ant-btn" type="button">
|
|
<!----><span>Confirm</span>
|
|
</button>
|
|
<!---->
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/manual.vue correctly 1`] = `
|
|
<button class="ant-btn" type="button">
|
|
<!----><span>Open modal to close in 5s</span>
|
|
</button>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/position.vue correctly 1`] = `
|
|
<div id="components-modal-demo-position"><button class="ant-btn ant-btn-primary" type="button">
|
|
<!----><span>Display a modal dialog at 20px to Top</span>
|
|
</button>
|
|
<!----><br><br><button class="ant-btn ant-btn-primary" type="button">
|
|
<!----><span>Vertically centered modal dialog</span>
|
|
</button>
|
|
<!---->
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/modal/demo/width.vue correctly 1`] = `
|
|
<div><button class="ant-btn ant-btn-primary" type="button">
|
|
<!----><span>Open Modal of 1000px width</span>
|
|
</button>
|
|
<!---->
|
|
</div>
|
|
`;
|