puranjayjain / react-materialui-notifications

Spec compliant notifications for react and material ui users
https://puranjayjain.github.io/react-materialui-notifications/
MIT License
251 stars 36 forks source link

autoHide , not working #126

Closed Meesam closed 7 years ago

Meesam commented 7 years ago

As below, i've passed autoHide props, but it did not work. any help will be great full.

showNotification = (msg) => {
    ReactMaterialUiNotifications.showNotification({
      title: 'Success',
      additionalText: msg,
      icon: <Message />,
      iconBadgeColor: deepOrange500,
      overflowText: "",
      timestamp: moment().format('h:mm A'),
      autoHide:2000,
      zDepth:5
    })
  }
puranjayjain commented 7 years ago

fixed in the latest PR #129