1
0
Fork 0
mirror of synced 2024-07-05 06:20:55 +12:00

MD components JSON - Select and ListItem

This commit is contained in:
Michael Shanks 2020-03-04 16:48:31 +00:00
parent 910251e167
commit 93b1db6858

View file

@ -26,6 +26,40 @@
},
"tags": []
},
"Select": {
"name": "Select",
"description": "A material design select (aka Dropdown, aka Combobox)",
"props": {
"onSelect": "event",
"value": "string",
"width": "string",
"variant": {
"type": "options",
"options": [
"filled", "outlined"
]
},
"disabled": "bool",
"required": "bool",
"label": "string",
"helperText": "string",
"persistent": "bool"
}
},
"ListItem": {
"name": "ListItem",
"description": "Use as item in a 'List' or 'Select' component",
"props": {
"value": "string",
"text": "string",
"secondaryText": "string",
"leadingIcon": "string",
"trailingIcon": "string",
"selected": "bool",
"disabled": "bool",
"divideAfter": "bool"
}
},
"Button": {
"name": "Button",
"children": false,