-
Notifications
You must be signed in to change notification settings - Fork 930
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: |
benjamincanac
left a comment
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 |
actionsactions slot
|
Thanks @Barbapapazes! π |
π Linked issue
β Type of change
π Description
Hello π,
This PR introduces a new slot named
header-actionsto 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