Skip to content

Commit

Permalink
fix: adds default styling for starsvg
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Praful committed Feb 6, 2022
1 parent c9ca858 commit 1f9ca2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/StarIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function StarIcon({
strokeColor = 'none',
storkeWidth = 0,
className = 'star-svg',
style
style = { display: 'inline' }
}: StarIconProps) {
return (
<svg fill='currentColor' width={size} height={size} viewBox='0 0 24 24' className={className} style={{ ...style }}>
Expand Down

0 comments on commit 1f9ca2e

Please sign in to comment.