web: Components: Fixed README of ContextMenu component.
This commit is contained in:
parent
36416b1d66
commit
3227bcd2e0
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user