web: Components: Fixed README of ContextMenu component.

This commit is contained in:
Ilya Oleshko 2019-09-10 15:48:51 +03:00
parent 36416b1d66
commit 3227bcd2e0

View File

@ -3,7 +3,7 @@
## Usage
```js
import { ContextMenu } from 'asc-web-components';
import { ContextMenu } from "asc-web-components";
```
#### Description
@ -13,13 +13,12 @@ ContextMenu is used for a call context actions on a page.
#### Usage
```js
<ContextMenu targetAreaId='rowContainer' options={[]} />
<ContextMenu targetAreaId="rowContainer" options={[]} />
```
#### Properties
| Props | Type | Required | Values | Default | Description |
| ------------------ | -------- | :------: | --------------------------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `options` | `array` | - | - | - | DropDownItems collection |
| `targetAreaId` | `string` | - | - | - | Id of container apply to |
| Props | Type | Required | Values | Default | Description |
| -------------- | -------- | :------: | ------ | ------- | ------------------------ |
| `options` | `array` | - | - | - | DropDownItems collection |
| `targetAreaId` | `string` | - | - | - | Id of container apply to |