We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aaa3d0 commit 92c24d8Copy full SHA for 92c24d8
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@terraware/web-components",
3
- "version": "2.4.0",
+ "version": "2.4.1-rc.0",
4
"author": "Terraformation Inc.",
5
"license": "Apache-2.0",
6
"repository": {
src/components/Message/Message.tsx
@@ -35,7 +35,9 @@ export default function Message(props: Props): JSX.Element | null {
35
<h4>{title}</h4>
36
</div>
37
)}
38
- <p>{body}</p>
+
39
+ {typeof body === 'string' ? <p>body</p> : body}
40
41
{type === 'page' && pageButtons && pageButtons.length > 0 ? (
42
<div className='tw-message--actions-container'>
43
{pageButtons?.map((pageButton, index) => {
0 commit comments