Add slot support to Pajamas alert component
Per this conversation this MR refactors the Pajamas::AlertComponent
to use slots to render body and action sections. This makes it so we don't have to use the .gl-alert-body
and .gl-alert-actions
in every use.
I didn't check every single alert manually but I did spot check a few of them.
The below are expected to look the same:
Before | After |
---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Edited by Peter Hegman