Reworking Message component

* Supporting URLs for icon
* Moving styles into top-level stylesheet for use in the template
This commit is contained in:
Jeff Avallone committed 2018-02-11 06:41:15 -05:00
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>
`;