2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/button/demo/basic.md correctly 1`] = `
|
2020-05-06 10:15:33 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
2020-05-06 10:15:33 +08:00
|
|
|
Primary Button
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
2020-05-06 10:15:33 +08:00
|
|
|
</button>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
2020-05-06 10:15:33 +08:00
|
|
|
Default Button
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
2020-05-06 10:15:33 +08:00
|
|
|
</button>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2017-01-23 22:24:36 +08:00
|
|
|
class="ant-btn ant-btn-dashed"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
2020-05-06 10:15:33 +08:00
|
|
|
Dashed Button
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
2020-05-06 10:15:33 +08:00
|
|
|
</button>,
|
|
|
|
<br />,
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-text"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Text Button
|
|
|
|
</span>
|
|
|
|
</button>,
|
2019-05-06 12:04:39 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-05-06 10:15:33 +08:00
|
|
|
Link Button
|
2019-05-06 12:04:39 +08:00
|
|
|
</span>
|
2020-05-06 10:15:33 +08:00
|
|
|
</button>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2018-07-30 19:10:30 +08:00
|
|
|
exports[`renders ./components/button/demo/block.md correctly 1`] = `
|
2020-06-11 15:24:24 +08:00
|
|
|
Array [
|
2018-07-30 19:10:30 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-block"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Primary
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2018-07-30 19:10:30 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-block"
|
2018-07-30 19:10:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Default
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2018-07-30 19:10:30 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed ant-btn-block"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Dashed
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2018-07-30 19:10:30 +08:00
|
|
|
<button
|
2020-01-03 15:26:52 +08:00
|
|
|
class="ant-btn ant-btn-link ant-btn-block"
|
2018-07-30 19:10:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-01-03 15:26:52 +08:00
|
|
|
Link
|
2019-05-06 12:04:39 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
]
|
2020-01-03 15:26:52 +08:00
|
|
|
`;
|
|
|
|
|
2022-06-22 12:58:56 +08:00
|
|
|
exports[`renders ./components/button/demo/chinese-chars-loading.md correctly 1`] = `
|
|
|
|
Array [
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-loading"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
2022-10-08 16:17:20 +08:00
|
|
|
class="anticon anticon-loading anticon-spin"
|
2022-06-22 12:58:56 +08:00
|
|
|
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>
|
|
|
|
部 署
|
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-loading"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
2022-10-08 16:17:20 +08:00
|
|
|
class="anticon anticon-loading anticon-spin"
|
2022-06-22 12:58:56 +08:00
|
|
|
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>,
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-loading"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
2022-10-08 16:17:20 +08:00
|
|
|
class="anticon anticon-loading anticon-spin"
|
2022-06-22 12:58:56 +08:00
|
|
|
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>
|
|
|
|
部署
|
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-loading"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
2022-10-08 16:17:20 +08:00
|
|
|
class="anticon anticon-loading anticon-spin"
|
2022-06-22 12:58:56 +08:00
|
|
|
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>
|
|
|
|
Submit
|
|
|
|
</button>,
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default 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>,
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-default ant-btn-loading"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-btn-loading-icon"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="loading"
|
2022-10-08 16:17:20 +08:00
|
|
|
class="anticon anticon-loading anticon-spin"
|
2022-06-22 12:58:56 +08:00
|
|
|
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>
|
|
|
|
按 钮
|
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
]
|
|
|
|
`;
|
|
|
|
|
2020-01-03 15:26:52 +08:00
|
|
|
exports[`renders ./components/button/demo/danger.md correctly 1`] = `
|
|
|
|
Array [
|
2019-11-22 15:32:11 +08:00
|
|
|
<button
|
2020-01-03 15:26:52 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-dangerous"
|
2019-11-22 15:32:11 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-01-03 15:26:52 +08:00
|
|
|
Primary
|
2019-11-22 15:32:11 +08:00
|
|
|
</span>
|
2020-01-03 15:26:52 +08:00
|
|
|
</button>,
|
2019-11-22 15:32:11 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-dangerous"
|
2019-11-22 15:32:11 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-01-03 15:26:52 +08:00
|
|
|
Default
|
2019-11-22 15:32:11 +08:00
|
|
|
</span>
|
2020-01-03 15:26:52 +08:00
|
|
|
</button>,
|
2019-05-06 12:04:39 +08:00
|
|
|
<button
|
2020-01-03 15:26:52 +08:00
|
|
|
class="ant-btn ant-btn-dashed ant-btn-dangerous"
|
2019-05-06 12:04:39 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-05-26 09:37:26 +08:00
|
|
|
Dashed
|
2018-07-30 19:10:30 +08:00
|
|
|
</span>
|
2020-01-03 15:26:52 +08:00
|
|
|
</button>,
|
2020-06-01 13:33:29 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-text ant-btn-dangerous"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Text
|
|
|
|
</span>
|
|
|
|
</button>,
|
2020-01-03 15:26:52 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link ant-btn-dangerous"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-06-01 13:33:29 +08:00
|
|
|
Link
|
2020-01-03 15:26:52 +08:00
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
]
|
2018-07-30 19:10:30 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/button/demo/disabled.md correctly 1`] = `
|
2020-06-11 15:24:24 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Primary
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
disabled=""
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Primary(disabled)
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
<br />,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Default
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2016-11-22 14:28:05 +08:00
|
|
|
disabled=""
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Default(disabled)
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
<br />,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Dashed
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed"
|
|
|
|
disabled=""
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Dashed(disabled)
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
<br />,
|
2020-06-01 13:33:29 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-text"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Text
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2020-06-01 13:33:29 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-text"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Text(disabled)
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
<br />,
|
2019-05-06 12:04:39 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Link
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2019-05-06 12:04:39 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link"
|
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Link(disabled)
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
<br />,
|
2020-05-06 10:15:33 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-dangerous"
|
2020-05-06 10:15:33 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-06-01 13:33:29 +08:00
|
|
|
Danger Default
|
2020-05-06 10:15:33 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2020-05-06 10:15:33 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-dangerous"
|
2020-05-06 10:15:33 +08:00
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-06-01 13:33:29 +08:00
|
|
|
Danger Default(disabled)
|
2020-05-06 10:15:33 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
<br />,
|
2019-11-22 15:32:11 +08:00
|
|
|
<button
|
2020-06-01 13:33:29 +08:00
|
|
|
class="ant-btn ant-btn-text ant-btn-dangerous"
|
2019-11-22 15:32:11 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-06-01 13:33:29 +08:00
|
|
|
Danger Text
|
2019-11-22 15:32:11 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2019-11-22 15:32:11 +08:00
|
|
|
<button
|
2020-06-01 13:33:29 +08:00
|
|
|
class="ant-btn ant-btn-text ant-btn-dangerous"
|
2019-11-22 15:32:11 +08:00
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-06-01 13:33:29 +08:00
|
|
|
Danger Text(disabled)
|
2019-11-22 15:32:11 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
<br />,
|
2019-11-22 15:32:11 +08:00
|
|
|
<button
|
2020-06-01 13:33:29 +08:00
|
|
|
class="ant-btn ant-btn-link ant-btn-dangerous"
|
2019-11-22 15:32:11 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-06-01 13:33:29 +08:00
|
|
|
Danger Link
|
2019-11-22 15:32:11 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2019-11-22 15:32:11 +08:00
|
|
|
<button
|
2020-06-01 13:33:29 +08:00
|
|
|
class="ant-btn ant-btn-link ant-btn-dangerous"
|
2019-11-22 15:32:11 +08:00
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-06-01 13:33:29 +08:00
|
|
|
Danger Link(disabled)
|
2019-11-22 15:32:11 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2018-05-17 21:23:36 +08:00
|
|
|
<div
|
2019-12-26 15:15:46 +08:00
|
|
|
class="site-button-ghost-wrapper"
|
2018-05-17 21:23:36 +08:00
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-background-ghost"
|
2018-05-17 21:23:36 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Ghost
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-background-ghost"
|
2018-05-17 21:23:36 +08:00
|
|
|
disabled=""
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Ghost(disabled)
|
|
|
|
</span>
|
|
|
|
</button>
|
2020-06-11 15:24:24 +08:00
|
|
|
</div>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/button/demo/ghost.md correctly 1`] = `
|
2017-01-23 22:24:36 +08:00
|
|
|
<div
|
2019-12-26 15:15:46 +08:00
|
|
|
class="site-button-ghost-wrapper"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-01-23 22:24:36 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-background-ghost"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2017-01-23 22:24:36 +08:00
|
|
|
<span>
|
2017-03-18 16:33:55 +08:00
|
|
|
Primary
|
2017-01-23 22:24:36 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-background-ghost"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2017-01-23 22:24:36 +08:00
|
|
|
<span>
|
2017-03-18 16:33:55 +08:00
|
|
|
Default
|
2017-01-23 22:24:36 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2017-03-18 16:33:55 +08:00
|
|
|
<button
|
2020-01-03 15:26:52 +08:00
|
|
|
class="ant-btn ant-btn-dashed ant-btn-background-ghost"
|
2017-03-18 16:33:55 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2020-05-31 23:02:59 +08:00
|
|
|
Dashed
|
2019-11-22 15:32:11 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
2021-08-13 09:31:38 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-background-ghost ant-btn-dangerous"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Danger
|
|
|
|
</span>
|
|
|
|
</button>
|
2017-01-23 22:24:36 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/button/demo/icon.md correctly 1`] = `
|
2020-06-11 15:24:24 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-circle ant-btn-primary ant-btn-icon-only"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-search"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2019-08-28 11:48:34 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-circle ant-btn-primary"
|
2019-08-28 11:48:34 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
A
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-search"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-12-01 11:10:25 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-circle ant-btn-default ant-btn-icon-only"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-search"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-12-01 11:10:25 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-search"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2016-12-01 11:10:25 +08:00
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
<br />,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-circle ant-btn-default ant-btn-icon-only"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-search"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-search"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-12-01 11:10:25 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-circle ant-btn-dashed ant-btn-icon-only"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-search"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-12-01 11:10:25 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="search"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-search"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="search"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2016-12-01 11:10:25 +08:00
|
|
|
<span>
|
|
|
|
Search
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2021-10-02 12:35:50 +08:00
|
|
|
<a
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-icon-only"
|
2021-10-02 12:35:50 +08:00
|
|
|
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>,
|
2021-08-11 12:59:14 +08:00
|
|
|
<br />,
|
|
|
|
<br />,
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-circle ant-btn-primary ant-btn-lg ant-btn-icon-only"
|
2021-08-11 12:59:14 +08:00
|
|
|
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>,
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-circle ant-btn-primary ant-btn-lg"
|
2021-08-11 12:59:14 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
A
|
|
|
|
</span>
|
|
|
|
</button>,
|
|
|
|
<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>,
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-circle ant-btn-default ant-btn-lg ant-btn-icon-only"
|
2021-08-11 12:59:14 +08:00
|
|
|
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>,
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-lg"
|
2021-08-11 12:59:14 +08:00
|
|
|
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>,
|
|
|
|
<br />,
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-circle ant-btn-default ant-btn-lg ant-btn-icon-only"
|
2021-08-11 12:59:14 +08:00
|
|
|
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>,
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-lg"
|
2021-08-11 12:59:14 +08:00
|
|
|
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>,
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-circle ant-btn-dashed ant-btn-lg ant-btn-icon-only"
|
2021-08-11 12:59:14 +08:00
|
|
|
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>,
|
|
|
|
<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>,
|
2021-10-02 12:35:50 +08:00
|
|
|
<a
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-lg ant-btn-icon-only"
|
2021-10-02 12:35:50 +08:00
|
|
|
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>,
|
2020-06-11 15:24:24 +08:00
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2020-02-10 11:32:37 +08:00
|
|
|
exports[`renders ./components/button/demo/legacy-group.md 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
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/button/demo/loading.md correctly 1`] = `
|
2020-04-26 16:21:07 +08:00
|
|
|
Array [
|
2021-09-14 15:31:42 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-right:8px"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-loading"
|
|
|
|
type="button"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<span
|
|
|
|
class="ant-btn-loading-icon"
|
2020-04-10 15:39:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<span
|
|
|
|
aria-label="loading"
|
2022-10-08 16:17:20 +08:00
|
|
|
class="anticon anticon-loading anticon-spin"
|
2021-09-14 15:31:42 +08:00
|
|
|
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"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-right:8px"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-sm ant-btn-loading"
|
|
|
|
type="button"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<span
|
|
|
|
class="ant-btn-loading-icon"
|
2020-04-10 15:39:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<span
|
|
|
|
aria-label="loading"
|
2022-10-08 16:17:20 +08:00
|
|
|
class="anticon anticon-loading anticon-spin"
|
2021-09-14 15:31:42 +08:00
|
|
|
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"
|
2020-04-26 16:21:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-icon-only ant-btn-loading"
|
|
|
|
type="button"
|
2020-04-26 16:21:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<span
|
|
|
|
class="ant-btn-loading-icon"
|
2020-04-26 16:21:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<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>
|
|
|
|
</div>,
|
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="width:100%"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-right:8px"
|
2019-12-19 11:51:12 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
2019-12-19 11:51:12 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<span>
|
|
|
|
Click me!
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2022-10-08 16:17:20 +08:00
|
|
|
style="margin-right:8px"
|
2020-04-26 16:21:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
2020-04-26 16:21:07 +08:00
|
|
|
>
|
2021-09-14 15:31:42 +08:00
|
|
|
<span
|
|
|
|
aria-label="poweroff"
|
|
|
|
class="anticon anticon-poweroff"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="poweroff"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
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"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
<span>
|
|
|
|
Click me!
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="poweroff"
|
|
|
|
class="anticon anticon-poweroff"
|
|
|
|
role="img"
|
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="poweroff"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
|
|
|
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"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>,
|
2020-04-26 16:21:07 +08:00
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/button/demo/multiple.md correctly 1`] = `
|
2020-06-11 15:24:24 +08:00
|
|
|
Array [
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
primary
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
secondary
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2020-10-21 11:47:59 +08:00
|
|
|
<div
|
2022-10-19 23:36:41 +08:00
|
|
|
class="ant-space-compact ant-space-compact-block ant-dropdown-button"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-10-21 11:47:59 +08:00
|
|
|
<button
|
2022-10-19 23:36:41 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-compact-item ant-btn-compact-first-item"
|
2020-10-21 11:47:59 +08:00
|
|
|
type="button"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-10-21 11:47:59 +08:00
|
|
|
<span>
|
|
|
|
Actions
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<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"
|
2020-10-21 11:47:59 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
aria-label="ellipsis"
|
|
|
|
class="anticon anticon-ellipsis"
|
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
2020-10-21 11:47:59 +08:00
|
|
|
<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>,
|
2020-06-11 15:24:24 +08:00
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/button/demo/size.md 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>,
|
|
|
|
<br />,
|
|
|
|
<br />,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2017-09-11 15:17:48 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2017-09-11 15:17:48 +08:00
|
|
|
<span>
|
|
|
|
Primary
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default ant-btn-lg"
|
2017-09-11 15:17:48 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2019-11-29 15:20:34 +08:00
|
|
|
Default
|
2017-09-11 15:17:48 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2017-09-11 15:17:48 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-dashed ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Dashed
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
<br />,
|
2019-05-06 12:04:39 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-link ant-btn-lg"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Link
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
<br />,
|
2019-08-25 21:04:10 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg ant-btn-icon-only"
|
|
|
|
type="button"
|
|
|
|
>
|
2019-08-29 23:41:46 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-08-25 21:04:10 +08:00
|
|
|
class="anticon anticon-download"
|
2019-08-29 23:41:46 +08:00
|
|
|
role="img"
|
2019-08-25 21:04:10 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-29 23:41:46 +08:00
|
|
|
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"
|
2019-08-25 21:04:10 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-29 23:41:46 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2017-09-11 15:17:48 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-circle ant-btn-primary ant-btn-lg ant-btn-icon-only"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-download"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2019-08-25 21:04:10 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-round ant-btn-primary ant-btn-lg ant-btn-icon-only"
|
2019-08-25 21:04:10 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-29 23:41:46 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-08-25 21:04:10 +08:00
|
|
|
class="anticon anticon-download"
|
2019-08-29 23:41:46 +08:00
|
|
|
role="img"
|
2019-08-25 21:04:10 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
|
|
|
focusable="false"
|
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-29 23:41:46 +08:00
|
|
|
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"
|
2019-08-25 21:04:10 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-29 23:41:46 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2019-01-10 11:15:43 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-round ant-btn-primary ant-btn-lg"
|
2019-01-10 11:15:43 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2019-01-10 11:15:43 +08:00
|
|
|
class="anticon anticon-download"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2019-01-10 11:15:43 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2019-01-10 11:15:43 +08:00
|
|
|
height="1em"
|
|
|
|
viewBox="64 64 896 896"
|
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2019-01-10 11:15:43 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2019-01-10 11:15:43 +08:00
|
|
|
<span>
|
|
|
|
Download
|
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2017-09-11 15:17:48 +08:00
|
|
|
class="ant-btn ant-btn-primary ant-btn-lg"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2019-08-13 14:07:17 +08:00
|
|
|
<span
|
|
|
|
aria-label="download"
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-download"
|
2019-08-13 14:07:17 +08:00
|
|
|
role="img"
|
2018-09-02 19:53:29 +08:00
|
|
|
>
|
|
|
|
<svg
|
|
|
|
aria-hidden="true"
|
|
|
|
data-icon="download"
|
|
|
|
fill="currentColor"
|
2019-04-11 12:48:36 +08:00
|
|
|
focusable="false"
|
2018-09-02 19:53:29 +08:00
|
|
|
height="1em"
|
2018-09-06 20:55:23 +08:00
|
|
|
viewBox="64 64 896 896"
|
2018-09-02 19:53:29 +08:00
|
|
|
width="1em"
|
|
|
|
>
|
|
|
|
<path
|
2019-08-13 14:07:17 +08:00
|
|
|
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"
|
2018-09-02 19:53:29 +08:00
|
|
|
/>
|
|
|
|
</svg>
|
2019-08-13 14:07:17 +08:00
|
|
|
</span>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
2017-09-11 15:17:48 +08:00
|
|
|
Download
|
2016-11-22 14:28:05 +08:00
|
|
|
</span>
|
2020-06-11 15:24:24 +08:00
|
|
|
</button>,
|
|
|
|
]
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|