From b65dde7893d0a2b61214b1e43e1c54174766bebd Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Wed, 4 Mar 2020 16:48:31 +0000 Subject: [PATCH] MD components JSON - Select and ListItem --- .../materialdesign-components/components.json | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/packages/materialdesign-components/components.json b/packages/materialdesign-components/components.json index b8942fffe0..dbc39c4f62 100644 --- a/packages/materialdesign-components/components.json +++ b/packages/materialdesign-components/components.json @@ -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,