Skip to content

Commit 50372f6

Browse files
committed
fix example
1 parent ed46f18 commit 50372f6

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

examples/custom-icon.js

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,17 @@ class Test extends React.Component {
7878

7979
getSvgIcon = (path) => {
8080
return (
81-
<svg
82-
viewBox="0 0 1024 1024"
83-
width="1em"
84-
height="1em"
85-
fill="currentColor"
86-
style={{ verticalAlign: '-.125em' }}
87-
>
88-
<path d={path} p-id="5827"></path>
89-
</svg>
81+
<i className="arrow">
82+
<svg
83+
viewBox="0 0 1024 1024"
84+
width="1em"
85+
height="1em"
86+
fill="currentColor"
87+
style={{ verticalAlign: '-.125em' }}
88+
>
89+
<path d={path} p-id="5827"></path>
90+
</svg>
91+
</i>
9092
);
9193
}
9294

0 commit comments

Comments
 (0)