DocSpace-client/web/ASC.Web.Components/example/stories/drop-down/base/README.md

24 lines
855 B
Markdown
Raw Normal View History

2019-06-10 12:28:54 +00:00
# DropDown
## Usage
```js
import { DropDown } from 'asc-web-components';
```
#### Description
Is a dropdown with any number of action
#### Usage
```js
<DropDown opened={false}></DropDown>
```
#### Properties
| 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 |