Tidyup and components json update
This commit is contained in:
parent
629e60b795
commit
835bfa5999
|
@ -403,6 +403,37 @@
|
|||
"persistent": "bool"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"Switch": {
|
||||
"name": "Switch",
|
||||
"description": "A material design switch component",
|
||||
"props": {
|
||||
"alignEnd": "bool",
|
||||
"disabled": "bool",
|
||||
"checked": "bool",
|
||||
"label": "string",
|
||||
"id": "string"
|
||||
},
|
||||
"tags": []
|
||||
},
|
||||
"Slider": {
|
||||
"name": "Slider",
|
||||
"description": "A material design slider component",
|
||||
"props": {
|
||||
"variant": {
|
||||
"type": "options",
|
||||
"options": ["continuous", "discrete"],
|
||||
"default": "continuous"
|
||||
},
|
||||
"showTicks": "bool",
|
||||
"min": "number",
|
||||
"max": "number",
|
||||
"value": "number",
|
||||
"step": "number",
|
||||
"label": "string",
|
||||
"disabled": "bool"
|
||||
},
|
||||
"tags": []
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,10 +10,10 @@
|
|||
|
||||
export let variant = "continuous" //or discrete
|
||||
export let showTicks = false
|
||||
export let min = "0"
|
||||
export let max = "100"
|
||||
export let value = "1"
|
||||
export let step = "1"
|
||||
export let min = 0
|
||||
export let max = 100
|
||||
export let value = 1
|
||||
export let step = 1
|
||||
export let label = ""
|
||||
export let disabled = false
|
||||
|
||||
|
|
Loading…
Reference in New Issue