Documentation Error - Toast component #3486
-
In current version of primereact 10.9.1, Toast component has incorrect documentation for it's severity property. Following page: The code snippets on aforementioned page, as well as page's API documentation, and the primereact package file 'toast.d.ts' also mention severity property values - 'secondary' & 'contrast'. These values also no longer work (nor do I know if they've been renamed like the others). |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Update: Documentation for 'warning' & 'danger' severity prop still needs to get changed to 'warn' & 'error' though |
Beta Was this translation helpful? Give feedback.
Update:
I discovered 'secondary' & 'contrast' values for 'severity' prop only do not work in dark themes. (work fine otherwise)
Have reported bug here: primefaces/primereact-sass-theme#92
Documentation for 'warning' & 'danger' severity prop still needs to get changed to 'warn' & 'error' though