Reworking Message component
* Supporting URLs for icon * Moving styles into top-level stylesheet for use in the template
This commit is contained in:
1 parent
b3e4bd2cff
commit
c368e9031f
6 files changed
+61
-47
No files matched your search
@@ -0,0 +1,28 @@
|
||||
// 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>
|
||||
`;
|
||||
Reference in new issue
Block a user