You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/01/26 17:58:27 UTC
[GitHub] [superset] rusackas commented on pull request #12229: refactor: Trash icon enhanced to Antd Icon in lists
rusackas commented on pull request #12229:
URL: https://github.com/apache/superset/pull/12229#issuecomment-767720483
For transparency, Diego and I spoke online, and we agreed to put this in Draft mode while exploring a couple options:
• Re-exporting vanilla AntD icons from the Superset Icon component, so we can get ALL icons from one import.
• Attempting to consolidate the interface for components, either with AntD's `<WhateverIcon />` interface, or our own `<Icon name="WhateverIcon" />` interface.
• Once the interface is conformed, trying to find a way to essentially override an AntD icon, which would allow a component developer to use `AnyVanillaIcon` from AntD, and then when we want to replace it with our own, we would simply _override_ it in our `Icon` component, and not have to go around finding/replacing the scattered implementations.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org