📜  materila ui 中的通知 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:41.647000             🧑  作者: Mango

代码示例1
import { NotificationActions, NotifcationContainer } from 'material-ui-notifications';
...
          {              NotificationActions.addNotification(                 {                     headerLabel: "Mail",                     secondaryHeaderLabel: "timohanisch@googlemail.com",                     timestamp: "Now",                     primaryColor: "#ff0000",                     title: "Timo Hanisch",                     text: "Yeah this seems like a pretty good idea!",                 }             );          }}     />  
...