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.
118 lines
3.3 KiB
118 lines
3.3 KiB
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Tree icon and switcherIcon of Tree with showLine should render correctly 1`] = `
|
|
<div
|
|
class="ant-tree ant-tree-show-line"
|
|
>
|
|
<div
|
|
role="tree"
|
|
>
|
|
<input
|
|
style="width: 0px; height: 0px; display: flex; overflow: hidden; opacity: 0; border: 0px; padding: 0px; margin: 0px;"
|
|
tabindex="0"
|
|
value=""
|
|
/>
|
|
</div>
|
|
<div
|
|
class="ant-tree-list"
|
|
>
|
|
<div>
|
|
<div
|
|
class="ant-tree-list-holder-inner"
|
|
style="display: flex; flex-direction: column;"
|
|
>
|
|
<div
|
|
class="ant-tree-treenode ant-tree-treenode-switcher-close"
|
|
>
|
|
<span
|
|
class="ant-tree-switcher ant-tree-switcher_close"
|
|
>
|
|
switcherIcon
|
|
</span>
|
|
<span
|
|
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-close"
|
|
title="---"
|
|
>
|
|
<span
|
|
class="ant-tree-iconEle ant-tree-icon__customize"
|
|
>
|
|
icon
|
|
</span>
|
|
<span
|
|
class="ant-tree-title"
|
|
>
|
|
---
|
|
</span>
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="ant-tree-treenode ant-tree-treenode-switcher-close"
|
|
>
|
|
<span
|
|
class="ant-tree-switcher ant-tree-switcher_close"
|
|
>
|
|
switcherIcon
|
|
</span>
|
|
<span
|
|
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-close"
|
|
title="---"
|
|
>
|
|
<span
|
|
class="ant-tree-iconEle ant-tree-icon__close"
|
|
/>
|
|
<span
|
|
class="ant-tree-title"
|
|
>
|
|
---
|
|
</span>
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="ant-tree-treenode ant-tree-treenode-switcher-close"
|
|
>
|
|
<span
|
|
class="ant-tree-switcher ant-tree-switcher_close"
|
|
>
|
|
<span
|
|
aria-label="plus-square"
|
|
class="anticon anticon-plus-square ant-tree-switcher-line-icon"
|
|
role="img"
|
|
>
|
|
<svg
|
|
aria-hidden="true"
|
|
class=""
|
|
data-icon="plus-square"
|
|
fill="currentColor"
|
|
focusable="false"
|
|
height="1em"
|
|
viewBox="64 64 896 896"
|
|
width="1em"
|
|
>
|
|
<path
|
|
d="M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"
|
|
/>
|
|
<path
|
|
d="M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"
|
|
/>
|
|
</svg>
|
|
</span>
|
|
</span>
|
|
<span
|
|
class="ant-tree-node-content-wrapper ant-tree-node-content-wrapper-close"
|
|
title="---"
|
|
>
|
|
<span
|
|
class="ant-tree-iconEle ant-tree-icon__close"
|
|
/>
|
|
<span
|
|
class="ant-tree-title"
|
|
>
|
|
---
|
|
</span>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|