3.1.6 • Published 8 months ago

@brighthr/component-contextmenu v3.1.6

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

ContextMenu

To 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:

import {
	ContextMenuListItem,
	ContextMenu,
} from '@brighthr/component-contextmenu';

After adding import into your project you can use it simply like:

<ContextMenu />

Props

NameTypeDefaultDescription
childrenReact.ReactNodeThe content of the ContextMenu.
contextNamestringSets the ariaLabel value.
customTriggerLayoutReact.ReactNodeSets a custom element to open the menu, e.g a chevron.
disabledbooleanfalseIf true, disables the ContextMenu with a gray overlay.
menuPosition'left' 'right' 'center'Sets the side to which the menu will open.
onOpen() => voidFunction for handling onOpen event.
textstringSets some text to describe what is in the menu.
3.1.6

8 months ago

3.1.5

9 months ago

3.1.3

1 year ago

3.1.4

12 months ago

3.1.2

1 year ago

3.1.1

1 year ago

3.1.0

1 year ago

3.0.0

1 year ago

2.2.3

1 year ago

2.2.1

2 years ago

2.2.0

2 years ago

2.2.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.3

2 years ago

2.1.0

2 years ago

1.0.19

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.22

2 years ago

1.0.21

2 years ago

1.0.20

2 years ago

1.0.23

2 years ago

1.0.16

2 years ago

1.0.11

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.10

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.0.14

3 years ago

1.0.3

2 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago