Switching back to SVG components for icons
No longer need the hack to only use them in components while URLs are used in styles since I don't need icons in the styles anymore. Embedding the markup also provides the option to restyle the icons
This commit is contained in:
1 parent
1de5079aa9
commit
49a236bf89
9 files changed
+98
-35
No files matched your search
@@ -18,9 +18,7 @@ exports[`Message rendering with icon 1`] = `
|
||||
className="message"
|
||||
>
|
||||
<h2>
|
||||
<img
|
||||
src="sample-icon-url"
|
||||
/>
|
||||
Sample icon SVG
|
||||
Testing
|
||||
</h2>
|
||||
<p>
|
||||
|
||||
Reference in new issue
Block a user