fix states

This commit is contained in:
Henry Jameson 2024-01-23 20:39:52 +02:00
commit ff2db7a247
2 changed files with 15 additions and 3 deletions

View file

@ -25,8 +25,16 @@ export const sampleRules = [
{
component: 'Button',
directives: {
background: '#808080',
opacity: 0.5
background: '#000000',
opacity: 0.8
}
},
{
component: 'Button',
state: ['hover'],
directives: {
background: '#FF00FF',
opacity: 0.9
}
}
]