Closed OlkaB closed 9 months ago
I like this solution but I think using the label is a problem. The Label would often be localized so the "House" label might become "Taigh" or "Maison" or "Casa". Could you use the id instead?
fair point - change applied
oh gosh - truly. Done, thanks @davidnixon
Contributes to #1522
What did you do?
Added slot to customise tab switching buttons' content
How have you tested it?
added test for slot in CvTabs.spec.js
Were docs updated if needed?
sample:![image](https://github.com/carbon-design-system/carbon-components-vue/assets/20342514/9f5a8099-ea9a-4af8-9cd7-eead99544c89)