polaris icon indicating copy to clipboard operation
polaris copied to clipboard

Make it possible to have a destructive primary footer on a Card

Open mehdi-loup opened this issue 8 years ago • 4 comments

Enhancement request

The Card component does not currently support a destructive props for its primary footer action.

Proposed solution

Replace the BaseAction interface with a DestructableAction interface

mehdi-loup avatar Nov 02 '18 16:11 mehdi-loup

👋 Thanks for opening your first issue. A contributor should give feedback soon. If you haven’t already, please check out the contributing guidelines. You can also join #polaris on the Shopify Partners Slack.

ghost avatar Nov 02 '18 16:11 ghost

Hey @mehdi-loup,

This repo getting a makeover! We want to make it easier to find existing issues, remove duplicates, and increase community engagement. If you issue is closed, re-labelled, or moved, don’t panic–it may be a duplicate (check the comments), or there is a new label or repository that work better.

If you disagree with the changes or have any other thoughts on how we can make Polaris better, please let us know!

I'm moving this into the backlog now, while we work through triaging all the issues. :)

yourpalsonja avatar Apr 18 '19 04:04 yourpalsonja

Just looked at this issue and it seems to have been solved already. https://codesandbox.io/s/jolly-roentgen-57iii

So I think this can be closed since it works :)

gerwinbrunner avatar Jun 18 '19 19:06 gerwinbrunner

This is now supported and can be closed

danrosenthal avatar Aug 19 '19 14:08 danrosenthal