I have a component with 2 tabs, each one have some cards.
When I use that component, I want to have some text in the cards from tab 1 and some other text in the cards from tab 2.
I can’t figure out how to do it, when I use the component and set the text for the cards in the 2nd variant (tab2), the text replaces all the texts from the tab1.
That didn’t work. I can override text even without creating a property.
Anyway, I tried that but the same thing still happens. I set some text in the cards from Tab 1, then switch to variant tab2, set the text for that variant, return to tab1, and the texts there are the same from the tab2.
I have a card component, there is where I create the text property. There is no variant there.
Then I have another component with tabs where I use the card comp. In the tab component I have 2 variants, but from there I can’t create a text property for the card component… Can I?