Blazored / Toast

A JavaScript free toast library for Blazor and Razor Component applications
https://blazored.github.io/Toast/
MIT License
663 stars 92 forks source link

Capital header is displayed when header is set to null #167

Closed ltemimi closed 2 years ago

ltemimi commented 2 years ago

I wanted to show a warning without a header by setting the header="" but I still see "WARNING" please help as I expect to see no header at all

Thanks

chrissainty commented 2 years ago

Hi @ltemimi. Unfortunately, headings are always displayed. If no heading is provided the default heading is shown.

The only way to get round this is to use the custom toast option. This is where you specify your own toast component to display. This gives you complete control over the look of your toasts.

You can find an example in the sample sites, as well as in the readme.