Context for the button
This commit is contained in:
parent
d90646c9d0
commit
97282fd1af
@ -1,3 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"title": "Button",
|
||||||
|
"context":{
|
||||||
|
"text": "Click me"
|
||||||
|
},
|
||||||
|
"variants": [
|
||||||
|
{
|
||||||
|
"name": "Cancel Button",
|
||||||
|
"context": {
|
||||||
|
"modifier": "--cancel"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
@ -1 +1 @@
|
|||||||
<button class="LP-Button">Click Me</button>
|
<button class="LP-Button LP-Button{{modifier}}">Click Me</button>
|
Loading…
Reference in New Issue
Block a user