You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{Button,notification}from'antd';constopenNotification=()=>{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(<Buttontype="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 ?
The text was updated successfully, but these errors were encountered:
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/
so I don't have to create che html , and i can show as many as Toast i need
it is possible ?
The text was updated successfully, but these errors were encountered: