Image: Add Additional Toolbar Buttons To Preview #3771
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Describe the feature you would like to see added
When using the
preview
prop of the Image component I would like the Image component to have more configurability for the toolbar displayed in the top right either through props or slots.Is your feature request related to a problem?
The most common thing I can think of wanting is to add an additional icon that is a button for quickly downloading an image. But there may also be other use cases for wanting to put more buttons into the toolbar so having the option to extend this would be ideal.
Describe the solution you'd like
I would like to either have a prop on the image component that lets me add items in the following format
and/or
Add a #toolbar slot that allows me to override what is displayed in the top right of the preview.
Describe alternatives you have considered
No response
Additional context
Any feedback on how you think this should be implemented is welcome. Thanks for your time.
The text was updated successfully, but these errors were encountered: