Skip to content

Commit 709cc37

Browse files
committed
Use i tagname for icons
1 parent 4707a26 commit 709cc37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/font_icon/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ const FontIcon = props => {
55
let className = style[props.value];
66
if (props.className) className += ` ${props.className}`;
77
return (
8-
<span data-react-toolbox='icon' {...props} className={className}>
8+
<i data-react-toolbox='icon' {...props} className={className}>
99
{props.children}
10-
</span>
10+
</i>
1111
);
1212
};
1313

0 commit comments

Comments
 (0)