Open dinhtungdu opened 2 years ago
Currently, we only support 4 icons for template part areas and there is no way plugins/themes can use custom icons for custom areas.
I see that the same function is duplicated for the block:
The following lines:
make me wonder if you can register a block variation with the icon expressed as a React element?
What problem does this address?
This issue comes from https://github.com/woocommerce/woocommerce-gutenberg-products-block/pull/5221
Currently, we only support 4 icons for template part areas and there is no way plugins/themes can use custom icons for custom areas.
What is your proposed solution?
Custom template part area can have a custom icon.