ant-design/components/rate/__tests__/__snapshots__/demo.test.js.snap

2271 lines
75 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/rate/demo/basic.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<ul
class="ant-rate"
2018-08-13 14:46:55 +08:00
role="radiogroup"
2017-11-28 11:12:51 +08:00
tabindex="0"
>
2016-11-22 14:28:05 +08:00
<li
class="ant-rate-star ant-rate-star-zero"
2018-07-19 20:37:47 +08:00
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="false"
aria-posinset="1"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
2018-12-28 16:04:05 +08:00
data-icon="star"
2018-09-02 19:53:29 +08:00
fill="currentColor"
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
2018-12-28 16:04:05 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
2018-12-28 16:04:05 +08:00
data-icon="star"
2018-09-02 19:53:29 +08:00
fill="currentColor"
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
2018-12-28 16:04:05 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="false"
aria-posinset="2"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
2018-12-28 16:04:05 +08:00
data-icon="star"
2018-09-02 19:53:29 +08:00
fill="currentColor"
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
2018-12-28 16:04:05 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
2018-12-28 16:04:05 +08:00
data-icon="star"
2018-09-02 19:53:29 +08:00
fill="currentColor"
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
2018-12-28 16:04:05 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="false"
aria-posinset="3"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
2018-12-28 16:04:05 +08:00
data-icon="star"
2018-09-02 19:53:29 +08:00
fill="currentColor"
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
2018-12-28 16:04:05 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
2018-12-28 16:04:05 +08:00
data-icon="star"
2018-09-02 19:53:29 +08:00
fill="currentColor"
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
2018-12-28 16:04:05 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
2018-12-28 16:04:05 +08:00
data-icon="star"
2018-09-02 19:53:29 +08:00
fill="currentColor"
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
2018-12-28 16:04:05 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
2018-12-28 16:04:05 +08:00
data-icon="star"
2018-09-02 19:53:29 +08:00
fill="currentColor"
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
2018-12-28 16:04:05 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
2018-12-28 16:04:05 +08:00
data-icon="star"
2018-09-02 19:53:29 +08:00
fill="currentColor"
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
2018-12-28 16:04:05 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-09-02 19:53:29 +08:00
>
<svg
aria-hidden="true"
class=""
2018-12-28 16:04:05 +08:00
data-icon="star"
2018-09-02 19:53:29 +08:00
fill="currentColor"
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
2018-12-28 16:04:05 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-09-02 19:53:29 +08:00
/>
</svg>
</i>
2018-07-19 20:37:47 +08:00
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
</ul>
`;
exports[`renders ./components/rate/demo/character.md correctly 1`] = `
<div>
2018-07-19 20:37:47 +08:00
<ul
class="ant-rate"
2018-08-13 14:46:55 +08:00
role="radiogroup"
2018-07-19 20:37:47 +08:00
tabindex="0"
>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="1"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="heart"
2018-12-28 16:04:05 +08:00
class="anticon anticon-heart"
>
<svg
aria-hidden="true"
class=""
data-icon="heart"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="heart"
2018-12-28 16:04:05 +08:00
class="anticon anticon-heart"
>
<svg
aria-hidden="true"
class=""
data-icon="heart"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"
/>
</svg>
</i>
</div>
2018-07-19 20:37:47 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="2"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="heart"
2018-12-28 16:04:05 +08:00
class="anticon anticon-heart"
>
<svg
aria-hidden="true"
class=""
data-icon="heart"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="heart"
2018-12-28 16:04:05 +08:00
class="anticon anticon-heart"
>
<svg
aria-hidden="true"
class=""
data-icon="heart"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"
/>
</svg>
</i>
</div>
2018-07-19 20:37:47 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="3"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="heart"
2018-12-28 16:04:05 +08:00
class="anticon anticon-heart"
>
<svg
aria-hidden="true"
class=""
data-icon="heart"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="heart"
2018-12-28 16:04:05 +08:00
class="anticon anticon-heart"
>
<svg
aria-hidden="true"
class=""
data-icon="heart"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"
/>
</svg>
</i>
</div>
2018-07-19 20:37:47 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="heart"
2018-12-28 16:04:05 +08:00
class="anticon anticon-heart"
>
<svg
aria-hidden="true"
class=""
data-icon="heart"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="heart"
2018-12-28 16:04:05 +08:00
class="anticon anticon-heart"
>
<svg
aria-hidden="true"
class=""
data-icon="heart"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"
/>
</svg>
</i>
</div>
2018-07-19 20:37:47 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="heart"
2018-12-28 16:04:05 +08:00
class="anticon anticon-heart"
>
<svg
aria-hidden="true"
class=""
data-icon="heart"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="heart"
2018-12-28 16:04:05 +08:00
class="anticon anticon-heart"
>
<svg
aria-hidden="true"
class=""
data-icon="heart"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M923 283.6a260.04 260.04 0 0 0-56.9-82.8 264.4 264.4 0 0 0-84-55.5A265.34 265.34 0 0 0 679.7 125c-49.3 0-97.4 13.5-139.2 39-10 6.1-19.5 12.8-28.5 20.1-9-7.3-18.5-14-28.5-20.1-41.8-25.5-89.9-39-139.2-39-35.5 0-69.9 6.8-102.4 20.3-31.4 13-59.7 31.7-84 55.5a258.44 258.44 0 0 0-56.9 82.8c-13.9 32.3-21 66.6-21 101.9 0 33.3 6.8 68 20.3 103.3 11.3 29.5 27.5 60.1 48.2 91 32.8 48.9 77.9 99.9 133.9 151.6 92.8 85.7 184.7 144.9 188.6 147.3l23.7 15.2c10.5 6.7 24 6.7 34.5 0l23.7-15.2c3.9-2.5 95.7-61.6 188.6-147.3 56-51.7 101.1-102.7 133.9-151.6 20.7-30.9 37-61.5 48.2-91 13.5-35.3 20.3-70 20.3-103.3.1-35.3-7-69.6-20.9-101.9zM512 814.8S156 586.7 156 385.5C156 283.6 240.3 201 344.3 201c73.1 0 136.5 40.8 167.7 100.4C543.2 241.8 606.6 201 679.7 201c104 0 188.3 82.6 188.3 184.5 0 201.2-356 429.3-356 429.3z"
/>
</svg>
</i>
</div>
</div>
</li>
</ul>
<br />
<ul
class="ant-rate"
2018-08-13 14:46:55 +08:00
role="radiogroup"
2018-12-28 16:04:05 +08:00
style="font-size:36px"
2017-11-28 11:12:51 +08:00
tabindex="0"
>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="1"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
A
</div>
<div
class="ant-rate-star-second"
>
A
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="2"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
A
</div>
<div
class="ant-rate-star-second"
>
A
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="3"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
A
</div>
<div
class="ant-rate-star-second"
>
A
</div>
</div>
2018-12-28 16:04:05 +08:00
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
A
</div>
<div
class="ant-rate-star-second"
>
A
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
A
</div>
<div
class="ant-rate-star-second"
>
A
</div>
</div>
2018-12-28 16:04:05 +08:00
</li>
</ul>
<br />
<ul
class="ant-rate"
role="radiogroup"
tabindex="0"
>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="1"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
</div>
<div
class="ant-rate-star-second"
>
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="2"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
</div>
<div
class="ant-rate-star-second"
>
</div>
</div>
2018-12-28 16:04:05 +08:00
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="3"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
</div>
<div
class="ant-rate-star-second"
>
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
</div>
<div
class="ant-rate-star-second"
>
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
</div>
<div
class="ant-rate-star-second"
>
</div>
</div>
</li>
</ul>
</div>
`;
exports[`renders ./components/rate/demo/clear.md correctly 1`] = `
<div>
<ul
class="ant-rate"
2018-08-13 14:46:55 +08:00
role="radiogroup"
tabindex="0"
>
<li
class="ant-rate-star ant-rate-star-full"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="true"
aria-posinset="1"
aria-setsize="5"
role="radio"
tabindex="0"
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
2018-07-18 10:33:54 +08:00
>
2018-12-28 16:04:05 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
2018-12-28 16:04:05 +08:00
</li>
<li
class="ant-rate-star ant-rate-star-full"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="true"
aria-posinset="2"
aria-setsize="5"
role="radio"
tabindex="0"
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
2018-07-18 10:33:54 +08:00
>
2018-12-28 16:04:05 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-full"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="true"
aria-posinset="3"
aria-setsize="5"
role="radio"
tabindex="0"
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
2018-07-18 10:33:54 +08:00
>
2018-12-28 16:04:05 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
2018-12-28 16:04:05 +08:00
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
role="radio"
tabindex="0"
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
2018-07-18 10:33:54 +08:00
>
2018-12-28 16:04:05 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
</li>
<li
2018-12-28 16:04:05 +08:00
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
role="radio"
tabindex="0"
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
2018-07-18 10:33:54 +08:00
>
2018-12-28 16:04:05 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
2018-12-28 16:04:05 +08:00
</li>
</ul>
allowClear: true
<br />
<ul
class="ant-rate"
role="radiogroup"
tabindex="0"
>
<li
class="ant-rate-star ant-rate-star-full"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="true"
aria-posinset="1"
aria-setsize="5"
role="radio"
tabindex="0"
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
2018-07-18 10:33:54 +08:00
>
2018-12-28 16:04:05 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
</li>
<li
2018-12-28 16:04:05 +08:00
class="ant-rate-star ant-rate-star-full"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="true"
aria-posinset="2"
aria-setsize="5"
role="radio"
tabindex="0"
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
2018-07-18 10:33:54 +08:00
>
2018-12-28 16:04:05 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
2018-12-28 16:04:05 +08:00
</li>
<li
class="ant-rate-star ant-rate-star-full"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="true"
aria-posinset="3"
aria-setsize="5"
role="radio"
tabindex="0"
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
2018-07-18 10:33:54 +08:00
>
2018-12-28 16:04:05 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
role="radio"
tabindex="0"
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
2018-07-18 10:33:54 +08:00
>
2018-12-28 16:04:05 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
2018-12-28 16:04:05 +08:00
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-12-28 16:04:05 +08:00
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
role="radio"
tabindex="0"
>
2018-12-28 16:04:05 +08:00
<div
class="ant-rate-star-first"
2018-07-18 10:33:54 +08:00
>
2018-12-28 16:04:05 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
2018-12-28 16:04:05 +08:00
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
</li>
</ul>
2018-12-28 16:04:05 +08:00
allowClear: false
</div>
`;
exports[`renders ./components/rate/demo/disabled.md correctly 1`] = `
<ul
class="ant-rate ant-rate-disabled"
role="radiogroup"
tabindex="-1"
>
<li
class="ant-rate-star ant-rate-star-full"
>
2018-12-28 16:04:05 +08:00
<div
2018-08-13 14:46:55 +08:00
aria-checked="true"
aria-posinset="1"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-18 10:33:54 +08:00
>
2018-07-19 20:37:47 +08:00
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-18 10:33:54 +08:00
>
2018-07-19 20:37:47 +08:00
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-full"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="true"
aria-posinset="2"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-18 10:33:54 +08:00
>
2018-07-19 20:37:47 +08:00
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
2018-07-19 20:37:47 +08:00
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-18 10:33:54 +08:00
>
2018-07-19 20:37:47 +08:00
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
aria-checked="false"
2018-08-13 14:46:55 +08:00
aria-posinset="3"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
2018-07-19 20:37:47 +08:00
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
</div>
2016-11-22 14:28:05 +08:00
</li>
</ul>
`;
2018-07-19 20:37:47 +08:00
exports[`renders ./components/rate/demo/half.md correctly 1`] = `
<ul
class="ant-rate"
2018-08-13 14:46:55 +08:00
role="radiogroup"
2018-07-19 20:37:47 +08:00
tabindex="0"
>
<li
class="ant-rate-star ant-rate-star-full"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="true"
aria-posinset="1"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-full"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="true"
aria-posinset="2"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-half ant-rate-star-active"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="true"
aria-posinset="3"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
2018-08-13 14:46:55 +08:00
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
role="radio"
tabindex="0"
2018-07-19 20:37:47 +08:00
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-08-13 20:51:01 +08:00
class="anticon anticon-star"
2018-07-19 20:37:47 +08:00
>
<svg
aria-hidden="true"
2018-08-14 15:32:29 +08:00
class=""
2018-07-19 20:37:47 +08:00
data-icon="star"
fill="currentColor"
height="1em"
2018-09-06 20:55:23 +08:00
viewBox="64 64 896 896"
2018-07-19 20:37:47 +08:00
width="1em"
>
<path
2018-09-06 20:55:23 +08:00
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
2018-07-19 20:37:47 +08:00
/>
</svg>
</i>
</div>
2018-12-28 16:04:05 +08:00
</div>
</li>
</ul>
`;
exports[`renders ./components/rate/demo/text.md correctly 1`] = `
<span>
<ul
class="ant-rate"
role="radiogroup"
tabindex="0"
>
<li
class="ant-rate-star ant-rate-star-full"
>
<div
aria-checked="true"
aria-posinset="1"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-full"
>
<div
aria-checked="true"
aria-posinset="2"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-full"
>
<div
aria-checked="true"
aria-posinset="3"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
aria-checked="false"
aria-posinset="4"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
</li>
<li
class="ant-rate-star ant-rate-star-zero"
>
<div
aria-checked="false"
aria-posinset="5"
aria-setsize="5"
role="radio"
tabindex="0"
>
<div
class="ant-rate-star-first"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
<div
class="ant-rate-star-second"
>
<i
2019-01-10 18:37:21 +08:00
aria-label="star"
2018-12-28 16:04:05 +08:00
class="anticon anticon-star"
>
<svg
aria-hidden="true"
class=""
data-icon="star"
fill="currentColor"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 0 0 .6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0 0 46.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"
/>
</svg>
</i>
</div>
</div>
2016-11-22 14:28:05 +08:00
</li>
</ul>
<span
class="ant-rate-text"
>
2018-12-28 16:04:05 +08:00
normal
2016-11-22 14:28:05 +08:00
</span>
</span>
`;