2018-12-21 21:12:36 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2020-01-02 19:10:16 +08:00
|
|
|
exports[`DropdownButton rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
|
|
<span
|
|
|
|
class="ant-dropdown-trigger ant-dropdown-rtl"
|
|
|
|
/>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`DropdownButton rtl render component should be rendered correctly in RTL direction 2`] = `
|
|
|
|
<div
|
|
|
|
class="ant-btn-group ant-btn-group-rtl ant-dropdown-button"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-rtl"
|
|
|
|
type="button"
|
|
|
|
/>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-dropdown-trigger ant-dropdown-rtl ant-btn-default ant-btn-rtl"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
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>
|
|
|
|
`;
|
|
|
|
|
2018-12-21 21:12:36 +08:00
|
|
|
exports[`DropdownButton should support href like Button 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-btn-group ant-dropdown-button"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
href="https://ant.design"
|
|
|
|
/>
|
|
|
|
<button
|
2019-05-06 12:04:39 +08:00
|
|
|
class="ant-btn ant-dropdown-trigger ant-btn-default"
|
2018-12-21 21:12:36 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
2018-12-21 21:12:36 +08:00
|
|
|
class="anticon anticon-ellipsis"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-12-21 21:12:36 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
class=""
|
|
|
|
data-icon="ellipsis"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-12-21 21:12:36 +08:00
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2018-12-21 21:12:36 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2018-12-21 21:12:36 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
`;
|