Web: Fixed DropDown story and readme

This commit is contained in:
Ilya Oleshko 2019-07-18 11:09:39 +03:00
parent 9918ddd7c1
commit f4d5610021
2 changed files with 4 additions and 2 deletions

View File

@ -21,4 +21,6 @@ Is a dropdown with any number of action
| Props | Type | Required | Values | Default | Description |
| ------------------ | -------- | :------: | --------------------------- | -------------- | ----------------------------------------------------------------- |
| `opened` | `bool` | - | - | `false` | Tells when the dropdown should be opened |
| `direction` | `oneOf` | - | `left`, `right` | `left` | Sets the opening direction relative to the parent |
| `direction` | `oneOf` | - | `left`, `right` | `left` | Sets the opening direction relative to the parent |
| `manualWidth` | `string` | - | - | - | Required if you need to specify the exact width of the component, for example 100%|
| `manualTop` | `string` | - | - | - | Required if you need to specify the exact distance from the parent component|

View File

@ -54,7 +54,7 @@ storiesOf('Components| DropDown', module)
</Col>
<Col xs="2"/>
<Col>
<GroupButton text='Dropdown demo' isDropdown={true}>
<GroupButton label='Dropdown demo' isDropdown={true}>
<DropDownItem
label='Button 1'
/>