Skip to content

Commit

Permalink
feat: Upgrading from react-icons v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
emulienfou authored and lijinke666 committed Aug 30, 2020
1 parent 7103183 commit fe3ec35
Show file tree
Hide file tree
Showing 10 changed files with 564 additions and 484 deletions.
87 changes: 47 additions & 40 deletions __tests__/tests/__snapshots__/icon.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -235,23 +235,27 @@ exports[`Player custom icon test should render custom icon 1`] = `
2
</span>
<span
class="audio-lists-panel-header-close-btn"
title="Close"
class="audio-lists-panel-header-actions"
>
<div>
1
</div>
</span>
<span
class="audio-lists-panel-header-line"
/>
<span
class="audio-lists-panel-header-delete-btn"
title="Delete audio lists"
>
<div>
1
</div>
<span
class="audio-lists-panel-header-delete-btn"
title="Delete audio lists"
>
<div>
1
</div>
</span>
<span
class="audio-lists-panel-header-line"
/>
<span
class="audio-lists-panel-header-close-btn"
title="Close"
>
<div>
1
</div>
</span>
</span>
</h2>
</div>
Expand Down Expand Up @@ -575,34 +579,37 @@ exports[`Player custom icon test should render custom icon in mobile mode 1`] =
2
</span>
<span
class="audio-lists-panel-header-close-btn"
title="Close"
class="audio-lists-panel-header-actions"
>
<svg
fill="currentColor"
height="1em"
preserveAspectRatio="xMidYMid meet"
style="vertical-align: middle;"
viewBox="0 0 40 40"
width="1em"
<span
class="audio-lists-panel-header-delete-btn"
title="Delete audio lists"
>
<div>
1
</div>
</span>
<span
class="audio-lists-panel-header-line"
/>
<span
class="audio-lists-panel-header-close-btn"
title="Close"
>
<g>
<svg
fill="currentColor"
height="1em"
stroke="currentColor"
stroke-width="0"
viewBox="0 0 320 512"
width="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="m31 19.3q0 0.3-0.2 0.5l-10.4 10.4q-0.3 0.2-0.5 0.2t-0.6-0.2l-10.4-10.4q-0.2-0.2-0.2-0.5t0.2-0.5l1.2-1.1q0.2-0.3 0.5-0.3t0.5 0.3l8.8 8.7 8.7-8.7q0.3-0.3 0.5-0.3t0.6 0.3l1.1 1.1q0.2 0.2 0.2 0.5z m0-8.6q0 0.3-0.2 0.5l-10.4 10.4q-0.3 0.3-0.5 0.3t-0.6-0.3l-10.4-10.4q-0.2-0.2-0.2-0.5t0.2-0.5l1.2-1.1q0.2-0.2 0.5-0.2t0.5 0.2l8.8 8.8 8.7-8.8q0.3-0.2 0.5-0.2t0.6 0.2l1.1 1.1q0.2 0.2 0.2 0.5z"
d="M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"
/>
</g>
</svg>
</span>
<span
class="audio-lists-panel-header-line"
/>
<span
class="audio-lists-panel-header-delete-btn"
title="Delete audio lists"
>
<div>
1
</div>
</svg>
</span>
</span>
</h2>
</div>
Expand Down

0 comments on commit fe3ec35

Please sign in to comment.