Skip to content

Commit

Permalink
Merge pull request #65 from mt-rsobachi/fix-div-descendant-fallback-icon
Browse files Browse the repository at this point in the history
fix fallback icon as div
  • Loading branch information
mt-rsobachi authored Sep 21, 2023
2 parents 53ce751 + 2eb6d82 commit 610b2af
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mt-web-icons",
"version": "0.2.0",
"version": "0.2.1",
"private": true,
"main": "react/Icon/cjs/index.js",
"module": "react/Icon/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion react/Icon/cjs/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion react/Icon/esm/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion templates/IconComponent.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function renderFallback(props) {
}
};

return <div {...fallbackProps} />;
return <span {...fallbackProps} />;
}

export default function Icon(props) {
Expand Down

0 comments on commit 610b2af

Please sign in to comment.