2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/button/demo/basic.tsx correctly 1`] = `
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Primary Button
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Default Button
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Dashed Button
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2020-05-06 10:15:33 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-text"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Text Button
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
2019-05-06 12:04:39 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Link Button
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/button/demo/block.tsx correctly 1`] = `
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-vertical"
|
|
|
|
style="width:100%"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2018-07-30 19:10:30 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-block"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Primary
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2018-07-30 19:10:30 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-block"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Default
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2018-07-30 19:10:30 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed ant-btn-block"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Dashed
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2023-01-07 23:24:27 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-block"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
disabled
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-text ant-btn-block"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
text
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2018-07-30 19:10:30 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link ant-btn-block"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Link
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-01-03 15:26:52 +08:00
|
|
|
`;
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/button/demo/chinese-chars-loading.tsx correctly 1`] = `
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-loading"
|
|
|
|
type="button"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
|
|
|
class="anticon anticon-loading anticon-spin"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2022-06-22 12:58:56 +08:00
|
|
|
</span>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span>
|
|
|
|
部 署
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-loading"
|
|
|
|
type="button"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
|
|
|
class="anticon anticon-loading anticon-spin"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2022-06-22 12:58:56 +08:00
|
|
|
</span>
|
2022-11-17 13:20:58 +08:00
|
|
|
部署
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-loading"
|
|
|
|
type="button"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
|
|
|
class="anticon anticon-loading anticon-spin"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2022-06-22 12:58:56 +08:00
|
|
|
</span>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span>
|
|
|
|
部署
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-loading"
|
|
|
|
type="button"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
|
|
|
class="anticon anticon-loading anticon-spin"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2022-06-22 12:58:56 +08:00
|
|
|
</span>
|
2022-11-17 13:20:58 +08:00
|
|
|
Submit
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-loading"
|
|
|
|
type="button"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
|
|
|
class="anticon anticon-loading anticon-spin"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2022-06-22 12:58:56 +08:00
|
|
|
</span>
|
2022-11-17 13:20:58 +08:00
|
|
|
部署
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-loading"
|
|
|
|
type="button"
|
2022-06-22 12:58:56 +08:00
|
|
|
>
|
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
|
|
|
class="anticon anticon-loading anticon-spin"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2022-06-22 12:58:56 +08:00
|
|
|
</span>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span>
|
|
|
|
按 钮
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-06-22 12:58:56 +08:00
|
|
|
`;
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/button/demo/danger.tsx correctly 1`] = `
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2019-11-22 15:32:11 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-dangerous"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Primary
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2019-11-22 15:32:11 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-dangerous"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Default
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2019-05-06 12:04:39 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed ant-btn-dangerous"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Dashed
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2018-05-17 21:23:36 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-btn ant-btn-text ant-btn-dangerous"
|
2018-05-17 21:23:36 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2022-11-17 13:20:58 +08:00
|
|
|
Text
|
2018-05-17 21:23:36 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2022-11-17 13:20:58 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
|
|
|
>
|
2018-05-17 21:23:36 +08:00
|
|
|
<button
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-btn ant-btn-link ant-btn-dangerous"
|
2018-05-17 21:23:36 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2022-11-17 13:20:58 +08:00
|
|
|
Link
|
2018-05-17 21:23:36 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2022-11-17 13:20:58 +08:00
|
|
|
</div>
|
2017-01-23 22:24:36 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-01-06 09:46:00 +08:00
|
|
|
exports[`renders ./components/button/demo/debug-block.tsx correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-form-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-row ant-form-item-row"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-col ant-form-item-control"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-form-item-control-input"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-form-item-control-input-content"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-round ant-btn-default ant-btn-lg ant-btn-block"
|
|
|
|
style="margin-bottom:12px"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Submit
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-round ant-btn-default ant-btn-lg ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2022-11-17 13:20:58 +08:00
|
|
|
exports[`renders ./components/button/demo/debug-icon.tsx correctly 1`] = `
|
2020-06-11 15:24:24 +08:00
|
|
|
Array [
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-radio-group ant-radio-group-outline"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper ant-radio-button-wrapper-checked"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span
|
|
|
|
class="ant-radio-button ant-radio-button-checked"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="large"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
2022-11-17 13:20:58 +08:00
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Large
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="default"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
2022-11-17 13:20:58 +08:00
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Default
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
|
|
|
class="ant-radio-button-wrapper"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span
|
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
|
|
|
type="radio"
|
|
|
|
value="small"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span
|
|
|
|
class="ant-radio-button-inner"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
2022-11-17 13:20:58 +08:00
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Small
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
</div>,
|
|
|
|
<div
|
|
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-left ant-divider-plain"
|
|
|
|
role="separator"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-divider-inner-text"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
Preview
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2022-11-17 13:20:58 +08:00
|
|
|
</div>,
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-vertical"
|
2021-10-02 12:35:50 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2021-10-02 12:35:50 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-circle ant-btn-primary ant-btn-lg ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-circle ant-btn-primary ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
A
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-circle ant-btn-default ant-btn-lg ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-circle ant-btn-default ant-btn-lg ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-circle ant-btn-dashed ant-btn-lg ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="ant-btn ant-btn-default ant-btn-lg ant-btn-icon-only"
|
|
|
|
href="https://www.google.com"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/button/demo/disabled.tsx correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-vertical"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Primary
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Primary(disabled)
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Default
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Default(disabled)
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Dashed
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Dashed(disabled)
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-text"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Text
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-text"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Text(disabled)
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Link
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Link(disabled)
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-17 15:48:29 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
href="https://ant.design/index-cn"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Href Primary
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-disabled"
|
|
|
|
href="https://ant.design/index-cn"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Href Primary(disabled)
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-dangerous"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Danger Default
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-dangerous"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Danger Default(disabled)
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
2021-08-11 12:59:14 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-text ant-btn-dangerous"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Danger Text
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-text ant-btn-dangerous"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Danger Text(disabled)
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2021-10-02 12:35:50 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
2021-10-02 12:35:50 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link ant-btn-dangerous"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Danger Link
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link ant-btn-dangerous"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Danger Link(disabled)
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center site-button-ghost-wrapper"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-background-ghost"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Ghost
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-background-ghost"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Ghost(disabled)
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/button/demo/ghost.tsx correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center site-button-ghost-wrapper"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-background-ghost"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Primary
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-background-ghost"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Default
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed ant-btn-background-ghost"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Dashed
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-background-ghost ant-btn-dangerous"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Danger
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/button/demo/icon.tsx correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-vertical"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-circle ant-btn-primary ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-circle ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
A
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-circle ant-btn-default ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-circle ant-btn-default ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-circle ant-btn-dashed ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
class="ant-btn ant-btn-default ant-btn-icon-only"
|
|
|
|
href="https://www.google.com"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="search"
|
|
|
|
class="anticon anticon-search"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/button/demo/legacy-group.tsx correctly 1`] = `
|
2020-06-11 15:24:24 +08:00
|
|
|
Array [
|
2020-02-10 11:32:37 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-btn-group ant-btn-group-sm"
|
|
|
|
>
|
|
|
|
<button
|
2022-04-22 17:40:52 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
2020-02-10 11:32:37 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Button 1
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
2022-04-22 17:40:52 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
2020-02-10 11:32:37 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Button 2
|
|
|
|
</span>
|
|
|
|
</button>
|
2020-04-25 18:03:35 +08:00
|
|
|
<span
|
|
|
|
class="ant-tooltip-disabled-compatible-wrapper"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="display:inline-block;cursor:not-allowed"
|
2020-04-25 18:03:35 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-04-22 17:40:52 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
|
2020-04-25 18:03:35 +08:00
|
|
|
disabled=""
|
2022-10-08 16:17:20 +08:00
|
|
|
style="pointer-events:none"
|
2020-04-25 18:03:35 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
<button
|
2022-04-22 17:40:52 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-icon-only"
|
2020-04-25 18:03:35 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2020-02-10 11:32:37 +08:00
|
|
|
</div>
|
2020-06-11 15:24:24 +08:00
|
|
|
</div>,
|
|
|
|
<br />,
|
2020-02-10 11:32:37 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-btn-group"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Button 1
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Button 2
|
|
|
|
</span>
|
|
|
|
</button>
|
2020-04-25 18:03:35 +08:00
|
|
|
<span
|
|
|
|
class="ant-tooltip-disabled-compatible-wrapper"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="display:inline-block;cursor:not-allowed"
|
2020-04-25 18:03:35 +08:00
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-icon-only"
|
|
|
|
disabled=""
|
2022-10-08 16:17:20 +08:00
|
|
|
style="pointer-events:none"
|
2020-04-25 18:03:35 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2020-02-10 11:32:37 +08:00
|
|
|
</div>
|
2020-06-11 15:24:24 +08:00
|
|
|
</div>,
|
|
|
|
<br />,
|
2020-02-10 11:32:37 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-btn-group ant-btn-group-lg"
|
|
|
|
>
|
|
|
|
<button
|
2022-04-22 17:40:52 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg"
|
2020-02-10 11:32:37 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Button 1
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
2022-04-22 17:40:52 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg"
|
2020-02-10 11:32:37 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Button 2
|
|
|
|
</span>
|
|
|
|
</button>
|
2020-04-25 18:03:35 +08:00
|
|
|
<span
|
|
|
|
class="ant-tooltip-disabled-compatible-wrapper"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="display:inline-block;cursor:not-allowed"
|
2020-04-25 18:03:35 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-04-22 17:40:52 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg ant-btn-icon-only"
|
2020-04-25 18:03:35 +08:00
|
|
|
disabled=""
|
2022-10-08 16:17:20 +08:00
|
|
|
style="pointer-events:none"
|
2020-04-25 18:03:35 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
<button
|
2022-04-22 17:40:52 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg ant-btn-icon-only"
|
2020-04-25 18:03:35 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
2020-02-10 11:32:37 +08:00
|
|
|
</div>
|
2020-06-11 15:24:24 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2020-02-10 11:32:37 +08:00
|
|
|
`;
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/button/demo/loading.tsx correctly 1`] = `
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-vertical"
|
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<div
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<div
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-loading"
|
|
|
|
type="button"
|
2020-04-10 15:39:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-btn-loading-icon"
|
2021-09-14 15:31:42 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span
|
|
|
|
aria-label="loading"
|
|
|
|
class="anticon anticon-loading anticon-spin"
|
|
|
|
role="img"
|
2021-09-14 15:31:42 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2021-09-14 15:31:42 +08:00
|
|
|
</span>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span>
|
|
|
|
Loading
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-loading"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
|
|
|
class="anticon anticon-loading anticon-spin"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Loading
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-loading"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
|
|
|
class="anticon anticon-loading anticon-spin"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="loading"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="0 0 1024 1024"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2021-09-14 15:31:42 +08:00
|
|
|
</div>
|
2022-11-17 13:20:58 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<div
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Click me!
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
2020-04-10 15:39:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
aria-label="poweroff"
|
|
|
|
class="anticon anticon-poweroff"
|
2021-09-14 15:31:42 +08:00
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
2022-11-17 13:20:58 +08:00
|
|
|
data-icon="poweroff"
|
2021-09-14 15:31:42 +08:00
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
2022-11-17 13:20:58 +08:00
|
|
|
viewBox="64 64 896 896"
|
2021-09-14 15:31:42 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2022-11-17 13:20:58 +08:00
|
|
|
d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"
|
2021-09-14 15:31:42 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span>
|
|
|
|
Click me!
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
2020-04-26 16:21:07 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-icon-only"
|
|
|
|
type="button"
|
2020-04-26 16:21:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
aria-label="poweroff"
|
|
|
|
class="anticon anticon-poweroff"
|
2021-09-14 15:31:42 +08:00
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
2022-11-17 13:20:58 +08:00
|
|
|
data-icon="poweroff"
|
2021-09-14 15:31:42 +08:00
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
2022-11-17 13:20:58 +08:00
|
|
|
viewBox="64 64 896 896"
|
2021-09-14 15:31:42 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2022-11-17 13:20:58 +08:00
|
|
|
d="M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"
|
2021-09-14 15:31:42 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
2022-11-17 13:20:58 +08:00
|
|
|
</button>
|
|
|
|
</div>
|
2021-09-14 15:31:42 +08:00
|
|
|
</div>
|
2022-11-17 13:20:58 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/button/demo/multiple.tsx correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-vertical"
|
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<div
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
2019-12-19 11:51:12 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<span>
|
|
|
|
primary
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
secondary
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<div
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
|
2020-04-26 16:21:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<button
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
|
2021-09-14 15:31:42 +08:00
|
|
|
type="button"
|
2020-04-26 16:21:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<span>
|
2022-11-17 13:20:58 +08:00
|
|
|
Actions
|
2021-09-14 15:31:42 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-icon-only ant-btn-compact-item ant-btn-compact-last-item ant-dropdown-trigger"
|
2021-09-14 15:31:42 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
2021-09-14 15:31:42 +08:00
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
2022-11-17 13:20:58 +08:00
|
|
|
data-icon="ellipsis"
|
2021-09-14 15:31:42 +08:00
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2022-11-17 13:20:58 +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"
|
2021-09-14 15:31:42 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2022-11-17 13:20:58 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2022-11-09 12:28:04 +08:00
|
|
|
exports[`renders ./components/button/demo/size.tsx correctly 1`] = `
|
2020-06-11 15:24:24 +08:00
|
|
|
Array [
|
2016-12-02 15:06:59 +08:00
|
|
|
<div
|
2018-06-28 17:12:16 +08:00
|
|
|
class="ant-radio-group ant-radio-group-outline"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-02 15:06:59 +08:00
|
|
|
<label
|
2017-09-11 15:17:48 +08:00
|
|
|
class="ant-radio-button-wrapper ant-radio-button-wrapper-checked"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-02 15:06:59 +08:00
|
|
|
<span
|
2017-09-11 15:17:48 +08:00
|
|
|
class="ant-radio-button ant-radio-button-checked"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-02 15:06:59 +08:00
|
|
|
<input
|
2017-09-11 15:17:48 +08:00
|
|
|
checked=""
|
2016-12-02 15:06:59 +08:00
|
|
|
class="ant-radio-button-input"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="radio"
|
2018-01-25 18:24:59 +08:00
|
|
|
value="large"
|
2017-03-17 18:56:30 +08:00
|
|
|
/>
|
2017-02-28 16:14:41 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
2016-12-02 15:06:59 +08:00
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Large
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
2017-09-11 15:17:48 +08:00
|
|
|
class="ant-radio-button-wrapper"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-02 15:06:59 +08:00
|
|
|
<span
|
2017-09-11 15:17:48 +08:00
|
|
|
class="ant-radio-button"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-12-02 15:06:59 +08:00
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="radio"
|
2018-01-25 18:24:59 +08:00
|
|
|
value="default"
|
2017-03-17 18:56:30 +08:00
|
|
|
/>
|
2017-02-28 16:14:41 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
2016-12-02 15:06:59 +08:00
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Default
|
|
|
|
</span>
|
|
|
|
</label>
|
|
|
|
<label
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-radio-button-wrapper"
|
|
|
|
>
|
2016-12-02 15:06:59 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-radio-button"
|
|
|
|
>
|
2016-12-02 15:06:59 +08:00
|
|
|
<input
|
|
|
|
class="ant-radio-button-input"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="radio"
|
2018-01-25 18:24:59 +08:00
|
|
|
value="small"
|
2017-03-17 18:56:30 +08:00
|
|
|
/>
|
2017-02-28 16:14:41 +08:00
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-radio-button-inner"
|
|
|
|
/>
|
2016-12-02 15:06:59 +08:00
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Small
|
|
|
|
</span>
|
|
|
|
</label>
|
2020-06-11 15:24:24 +08:00
|
|
|
</div>,
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-divider ant-divider-horizontal ant-divider-with-text ant-divider-with-text-left ant-divider-plain"
|
|
|
|
role="separator"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
2022-11-17 13:20:58 +08:00
|
|
|
class="ant-divider-inner-text"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
Preview
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2022-11-17 13:20:58 +08:00
|
|
|
</div>,
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-vertical"
|
2019-08-25 21:04:10 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2019-08-25 21:04:10 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Primary
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Default
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Dashed
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-bottom:8px"
|
2019-01-10 11:15:43 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Link
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2022-11-17 13:20:58 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
style="flex-wrap:wrap;margin-bottom:-8px"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-circle ant-btn-primary ant-btn-lg ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-round ant-btn-primary ant-btn-lg ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px;padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-round ant-btn-primary ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Download
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="padding-bottom:8px"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="download"
|
|
|
|
class="anticon anticon-download"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
d="M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Download
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>,
|
2020-06-11 15:24:24 +08:00
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|