We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Im getting the following error:
The style prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.
style
It's because some icons are generated like this:
IcCheck: { className: 'Icon--IcCheck', viewBox: '0 0 30 30', path: ( <g> <path style="line-height:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;block-progression:tb;isolation:auto;mix-blend-mode:normal" d="M26.98 5.99a1 1 0 0 0-.687.303L11 21.586l-6.293-6.293a1 1 0 1 0-1.414 1.414l7 7a1 1 0 0 0 1.414 0l16-16a1 1 0 0 0-.727-1.717z" font-weight="400" font-family="sans-serif" white-space="normal" overflow="visible" /> </g> ) },
style as string.
The text was updated successfully, but these errors were encountered:
Sorry, the problem was in my SVG.
Sorry, something went wrong.
No branches or pull requests
Im getting the following error:
The
style
prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.It's because some icons are generated like this:
style as string.
The text was updated successfully, but these errors were encountered: