web: Components: Fixed ComboBox property type

This commit is contained in:
Ilya Oleshko 2019-08-20 16:04:23 +03:00
parent f4ff619389
commit 44e493d711

View File

@ -54,7 +54,7 @@ const options = [
key: 0,
label: 'Select'
}}
dropDownMaxHeight='200px'
dropDownMaxHeight={200}
noBorder={false}
scale={true}
size='content'
@ -71,6 +71,6 @@ const options = [
| `noBorder` | `bool` | - | - | `false` | Indicates that component is displayed without borders |
| `selectedOption` | `object` | ✅ | - | - | Selected option |
| `onSelect` | `func` | - | - | - | Will be triggered whenever an ComboBox is selected option |
| `dropDownMaxHeight` | `string` | - | - | - | Height of Dropdown |
| `dropDownMaxHeight` | `number` | - | - | - | Height of Dropdown |
| `scaled` | `bool` | - | - | `true` | Indicates that component is scaled by parent |
| `size` | `oneOf` | - | `base`, `middle`, `big`, `huge`, `content` | `base` | Select component width, one of default |