import React from 'react'

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

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>
)

Add optional icon in error dialog
Add optional icon in error dialog
