- 
                Notifications
    You must be signed in to change notification settings 
- Fork 77
Open
Description
I need a way to call and show Toast notifications by code, i mean something like the ant design notification
https://ant.design/components/notification/
import { Button, notification } from 'antd';
const openNotification = () => {
  notification.open({
    message: 'Notification Title',
    description:
      'This is the content of the notification. This is the content of the notification. This is the content of the notification.',
    onClick: () => {
      console.log('Notification Clicked!');
    },
  });
};
ReactDOM.render(
  <Button type="primary" onClick={openNotification}>
    Open the notification box
  </Button>,
  mountNode,
);so I don't have to create che html , and i can show as many as Toast i need
it is possible ?
Metadata
Metadata
Assignees
Labels
No labels