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
29 lines
343 B
Plaintext
29 lines
343 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`Message rendering 1`] = `
|
|
<div
|
|
className="message"
|
|
>
|
|
<h2>
|
|
Testing
|
|
</h2>
|
|
<p>
|
|
Message content
|
|
</p>
|
|
</div>
|
|
`;
|
|
|
|
exports[`Message rendering with icon 1`] = `
|
|
<div
|
|
className="message"
|
|
>
|
|
<h2>
|
|
Sample icon SVG
|
|
Testing
|
|
</h2>
|
|
<p>
|
|
Message content
|
|
</p>
|
|
</div>
|
|
`;
|