primefaces / primereact

The Most Complete React UI Component Library
https://primereact.org
MIT License
6.64k stars 1k forks source link

ToastMessage interface "contentClassName" property required issue #2256

Closed kazamov closed 3 years ago

kazamov commented 3 years ago

There is no guarantee in receiving an immediate response in GitHub Issue Tracker, If you'd like to secure our response, you may consider PrimeReact PRO Support where support is provided within 4 business hours

[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Current behavior The ToastMessage interface has a new required property contentClassName, but I think it is a mistake because even in your documentation the default value is null.

Expected behavior The ToastMessage interface property contentClassName should be optional.

Please tell us about your environment: Windows 10, Visual Studio Code

mcandu commented 3 years ago

Fixed with https://github.com/primefaces/primereact/commit/ef36a027b4220d923e726db4d17b65912dcafd93 in https://github.com/primefaces/primereact/issues/2247