import React from 'react'

export default ({ message, icon }) => (
  <div className={ 'error-dialog ' + (message ? 'visible' : 'hidden') }>
    { icon ? <span class={ 'icon icon-' + icon } /> : null }
    <strong> { message }</strong>
  </div>
)

import React from 'react'

export default ({ message }) => (
  <div className={ 'error-dialog ' + (message ? 'visible' : 'hidden') }>
    <strong>{ message }</strong>
  </div>
)

--- 
+++ 
@@ -1,8 +1,7 @@
 import React from 'react'
 
-export default ({ message, icon }) => (
+export default ({ message }) => (
   <div className={ 'error-dialog ' + (message ? 'visible' : 'hidden') }>
-    { icon ? <span class={ 'icon icon-' + icon } /> : null }
-    <strong> { message }</strong>
+    <strong>{ message }</strong>
   </div>
 )
Add optional icon in error dialog
