-
Notifications
You must be signed in to change notification settings - Fork 826
feat(Modal/Slideover): add actions
slot
#4358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Modal/Slideover): add actions
slot
#4358
Conversation
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we can just call this actions
and maybe do the same in Modal as well? 🤔
This would match Alert
and Toast
components having an actions
slot next to the close button.
Oh I never notice that |
I think you can simply add an |
actions
Yes, it makes sense. I rename it to just |
actions
actions
slot
Thanks @Barbapapazes! 😊 |
🔗 Linked issue
❓ Type of change
📚 Description
Hello 👋,
This PR introduces a new slot named
header-actions
to the Slideover component. This slot allows users to add custom actions, mainly near the close button, without having to completely override the header slot. This is particularly useful for adding additional buttons like "Expand" or "Collapse" to allow the user to control the slideover's size dynamically.📝 Checklist