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
According to Configure web part icon, you should be able to use a base64-encoded SVG file as your SPFx web part.
SVG icons do not render. Upon further inspection, the SVG resource doesn't seem to ever get loaded or added to the page.
Follow the steps listed in Configure web part icon to add a base64-encoded SVG icon.
Package the web part
Deploy the web part
Open the Add Web Part "dialog".
The SVG icon will be blank.
Try the same steps, using a base64-encoded PNG file.
The PNG icon will appear.
Cry.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Category
Expected or Desired Behavior
According to Configure web part icon, you should be able to use a base64-encoded SVG file as your SPFx web part.
Observed Behavior
SVG icons do not render. Upon further inspection, the SVG resource doesn't seem to ever get loaded or added to the page.
Steps to Reproduce
Follow the steps listed in Configure web part icon to add a base64-encoded SVG icon.
Package the web part
Deploy the web part
Open the Add Web Part "dialog".
The SVG icon will be blank.
Try the same steps, using a base64-encoded PNG file.
The PNG icon will appear.
Cry.
The text was updated successfully, but these errors were encountered: