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`] = `
|
|
|
|
<div
|
2022-10-19 23:36:41 +08:00
|
|
|
class="ant-space-compact ant-space-compact-rtl ant-space-compact-block ant-dropdown-button"
|
2020-01-02 19:10:16 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-10-19 23:36:41 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-rtl ant-btn-compact-item ant-btn-compact-first-item ant-btn-compact-item-rtl"
|
2020-01-02 19:10:16 +08:00
|
|
|
type="button"
|
|
|
|
/>
|
|
|
|
<button
|
2022-10-19 23:36:41 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-rtl ant-btn-compact-item ant-btn-compact-last-item ant-btn-compact-item-rtl ant-dropdown-trigger ant-dropdown-rtl"
|
2020-01-02 19:10:16 +08:00
|
|
|
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>
|
|
|
|
`;
|
|
|
|
|
2018-12-21 21:12:36 +08:00
|
|
|
exports[`DropdownButton should support href like Button 1`] = `
|
|
|
|
<div
|
2022-10-19 23:36:41 +08:00
|
|
|
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
|
2018-12-21 21:12:36 +08:00
|
|
|
>
|
|
|
|
<a
|
2022-10-19 23:36:41 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
|
2018-12-21 21:12:36 +08:00
|
|
|
href="https://ant.design"
|
|
|
|
/>
|
|
|
|
<button
|
2022-10-19 23:36:41 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
|
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"
|
|
|
|
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>
|
|
|
|
`;
|