Libraries - Variants won't change states
Hi,
Our team doesn’t really use libraries because our experience with them wasn’t great. Recently I’ve decided to give it another go after quite some time because we are at a state where we must split files in order to reduce the memory usage of the file.
Unfortunately, 10 minutes later I ran into an issue that is driving me crazy for the past 10 hours.
What I did:
- Created a new file called “Design System:
- Created a new component called “Button” with two variants “Default” and “Hover”
- Published the changes to the Library and published the Library
- Created a new file called “Screens”
- Added the newly created Library to the “Screens” file and added the “Button” component
What the issue is:
- The “Button” component default state is “Default”. When changing it to “Hover”, literally nothing happens. I can’t figure out for the sake of me what’s happening.
Any ideas?
Thanks
