To install, type the following into the command line at the root of your project:
npm install @brighthr/component-contextmenuTo install, type the following into the command line at the root of your project:
```
npm i @brighthr/component-contextmenu
To implement the Checkbox component into your project you’ll need to add the import:
`javascript`
import {
ContextMenuListItem,
ContextMenu,
} from '@brighthr/component-contextmenu';
After adding import into your project you can use it simply like:
`jsx`Props
| Name | Type | Default | Description |
|---------------------|-------------------------------|---------|----------------------------------------------------------|
| children | React.ReactNode | | The content of the ContextMenu. |string
| contextName | | | Sets the ariaLabel value. |React.ReactNode
| customTriggerLayout | | | Sets a custom element to open the menu, e.g a chevron. |boolean
| disabled | | false | If true, disables the ContextMenu with a gray overlay. |'left'
| menuPosition | 'right' 'center' | | Sets the side to which the menu will open. |() => void
| onOpen | | | Function for handling onOpen event. |string` | | Sets some text to describe what is in the menu. |
| text |