Ant Design Alert and Message component usage in ReactJS app | AntD Message and Alert Tutorial

preview_player
Показать описание
#reactjs #antd #alert
In this continued video tutorial I have explained Ant Design Alert and Message component usage in ReactJS app

This video focuses on
- How to use antd Alert component in ReactJS
- How to use antd Message in ReactJS
- How to show success massage using antd message
- How to make the toast message to stay longer than the default time delay
- How to show error message using antd message
- How to show auto hiding messages using antd message
- How to show feedback on screen with close button
- How to set type to antd alert
- How to add type, message and description to antd Alert component
- How to make antd Alert closable

Happy Coding!
Рекомендации по теме
Комментарии
Автор

I'm getting this error. "[antd: message] Static function can not consume context like dynamic theme. Please use 'App' component instead." Can you please help me how to resolve this???

aritnath
Автор

so message is component or function ??

hantrantruongngoc
Автор

WARNING in src/App.js
Line 2 31: 'message' is defined but never used no-unused-vars -

im not getting output just showing empty page

rakeshreddy
visit shbcf.ru