amis2/__tests__/renderers/__snapshots__/DropDownButton.test.tsx.snap

70 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-07-04 16:22:24 +08:00
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Renderer:dropdown-button 1`] = `
<div>
<div
2021-04-13 23:25:06 +08:00
class="a-DropDown is-opened show"
2019-07-04 16:22:24 +08:00
>
<button
2021-04-13 23:25:06 +08:00
class="a-Button a-Button--primary"
2019-07-04 16:22:24 +08:00
>
2020-12-02 23:06:38 +08:00
<span
class="a-DropDown-caret"
>
<icon-mock
classname="icon icon-caret"
icon="caret"
/>
</span>
2019-07-04 16:22:24 +08:00
</button>
<ul
class="a-DropDown-menu"
>
2021-03-17 10:24:22 +08:00
<li
class=""
>
2019-07-04 16:22:24 +08:00
<a
class=""
>
2021-05-23 22:25:43 +08:00
<span>
按钮
</span>
2019-07-04 16:22:24 +08:00
</a>
</li>
2021-03-17 10:24:22 +08:00
<li
class=""
>
2019-07-04 16:22:24 +08:00
<a
class=""
>
2021-05-23 22:25:43 +08:00
<span>
按钮
</span>
2019-07-04 16:22:24 +08:00
</a>
</li>
</ul>
</div>
</div>
`;
exports[`Renderer:dropdown-button 2`] = `
<div>
<div
2021-04-13 23:25:06 +08:00
class="a-DropDown show"
2019-07-04 16:22:24 +08:00
>
<button
2021-04-13 23:25:06 +08:00
class="a-Button a-Button--primary"
2019-07-04 16:22:24 +08:00
>
2020-12-02 23:06:38 +08:00
<span
class="a-DropDown-caret"
>
<icon-mock
classname="icon icon-caret"
icon="caret"
/>
</span>
2019-07-04 16:22:24 +08:00
</button>
</div>
</div>
`;