gor181 / react-notification-system-redux

Redux wrapper for react-notification-system
MIT License
324 stars 59 forks source link

is `allowHTML` supported? #60

Open indapublic opened 6 years ago

indapublic commented 6 years ago

I know that allowHtml is supported by react-notification-system, but still receive plain text notification

indapublic commented 6 years ago

Anybody home?

Olliebaba commented 5 years ago

You can pass a children prop:

  const config = {
    uid,
    title: `${message}`,
    position: 'br',
    autoDismiss: 0,
    dismissible: false,
    children: (
      <Message
        exportJobId={exportJobId}
        jobStatus={jobStatus}
        uid={uid} />
    ),
  }

  dispatch(success(config))