You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
163 lines
3.4 KiB
163 lines
3.4 KiB
2 years ago
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
|
||
|
exports[`renders ./components/tour/demo/basic.md extend context correctly 1`] = `
|
||
|
Array [
|
||
|
<button
|
||
|
class="ant-btn ant-btn-primary"
|
||
|
type="button"
|
||
|
>
|
||
|
<span>
|
||
|
Begin Tour
|
||
|
</span>
|
||
|
</button>,
|
||
|
<div
|
||
|
class="ant-divider ant-divider-horizontal"
|
||
|
role="separator"
|
||
|
/>,
|
||
|
<div
|
||
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||
|
>
|
||
|
<div
|
||
|
class="ant-space-item"
|
||
|
style="margin-right:8px"
|
||
|
>
|
||
|
<button
|
||
|
class="ant-btn ant-btn-default"
|
||
|
type="button"
|
||
|
>
|
||
|
<span>
|
||
|
Upload
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
<div
|
||
|
class="ant-space-item"
|
||
|
style="margin-right:8px"
|
||
|
>
|
||
|
<button
|
||
|
class="ant-btn ant-btn-primary"
|
||
|
type="button"
|
||
|
>
|
||
|
<span>
|
||
|
Save
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
<div
|
||
|
class="ant-space-item"
|
||
|
>
|
||
|
<button
|
||
|
class="ant-btn ant-btn-default ant-btn-icon-only"
|
||
|
type="button"
|
||
|
>
|
||
|
<span
|
||
|
aria-label="ellipsis"
|
||
|
class="anticon anticon-ellipsis"
|
||
|
role="img"
|
||
|
>
|
||
|
<svg
|
||
|
aria-hidden="true"
|
||
|
data-icon="ellipsis"
|
||
|
fill="currentColor"
|
||
|
focusable="false"
|
||
|
height="1em"
|
||
|
viewBox="64 64 896 896"
|
||
|
width="1em"
|
||
|
>
|
||
|
<path
|
||
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
||
|
/>
|
||
|
</svg>
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>,
|
||
|
]
|
||
|
`;
|
||
|
|
||
|
exports[`renders ./components/tour/demo/non-modal.md extend context correctly 1`] = `
|
||
|
Array [
|
||
|
<button
|
||
|
class="ant-btn ant-btn-primary"
|
||
|
type="button"
|
||
|
>
|
||
|
<span>
|
||
|
Begin non-modal Tour
|
||
|
</span>
|
||
|
</button>,
|
||
|
<div
|
||
|
class="ant-divider ant-divider-horizontal"
|
||
|
role="separator"
|
||
|
/>,
|
||
|
<div
|
||
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
||
|
>
|
||
|
<div
|
||
|
class="ant-space-item"
|
||
|
style="margin-right:8px"
|
||
|
>
|
||
|
<button
|
||
|
class="ant-btn ant-btn-default"
|
||
|
type="button"
|
||
|
>
|
||
|
<span>
|
||
|
Upload
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
<div
|
||
|
class="ant-space-item"
|
||
|
style="margin-right:8px"
|
||
|
>
|
||
|
<button
|
||
|
class="ant-btn ant-btn-primary"
|
||
|
type="button"
|
||
|
>
|
||
|
<span>
|
||
|
Save
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
<div
|
||
|
class="ant-space-item"
|
||
|
>
|
||
|
<button
|
||
|
class="ant-btn ant-btn-default ant-btn-icon-only"
|
||
|
type="button"
|
||
|
>
|
||
|
<span
|
||
|
aria-label="ellipsis"
|
||
|
class="anticon anticon-ellipsis"
|
||
|
role="img"
|
||
|
>
|
||
|
<svg
|
||
|
aria-hidden="true"
|
||
|
data-icon="ellipsis"
|
||
|
fill="currentColor"
|
||
|
focusable="false"
|
||
|
height="1em"
|
||
|
viewBox="64 64 896 896"
|
||
|
width="1em"
|
||
|
>
|
||
|
<path
|
||
|
d="M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"
|
||
|
/>
|
||
|
</svg>
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>,
|
||
|
]
|
||
|
`;
|
||
|
|
||
|
exports[`renders ./components/tour/demo/placement.md extend context correctly 1`] = `
|
||
|
<button
|
||
|
class="ant-btn ant-btn-primary"
|
||
|
type="button"
|
||
|
>
|
||
|
<span>
|
||
|
Begin Tour
|
||
|
</span>
|
||
|
</button>
|
||
|
`;
|