[UAlert] Add actions slot
Description
Today i used the UAlert with actions, but with incremented actions not just buttons. So i had to use the description slot to achive this. Would be good if we have #actions slot for these cases.
Additional context
No response
Could you show an example of what you implemented, and an API suggestion, just so we understand the need correctly ?
Could you show an example of what you implemented, and an API suggestion, just so we understand the need correctly ?
It's really simple feature, just to add a actions slot instead of using the description slot.
You can already do it with the actions prop
You can check here: https://stackblitz.com/edit/nuxt-ui-z7b766?file=components%2FAlertConfirm.vue
Ok, but it only accept buttons. In my case (you can check the stackblitz again, and click on "recusar" to see what i'm saying) when a button is clicked another component is shown. Like i said, it's a simple feature, just add a actions slot, so we haven't to duplicate the description.
@benjamincanac any thoughts on this?
I think we can add an actions slot 😊