fix states
This commit is contained in:
parent
22b32f149d
commit
ff2db7a247
2 changed files with 15 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue