Skip to content

Commit e2c5510

Browse files
authored
Merge pull request #230 from akash247/patch-1
Highlighted the note part for holdToDisplay prop.
2 parents e1a99d0 + 4b8c17d commit e2c5510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Contextmenu Trigger Component
3333
| attributes | Object | | | The attributes will be passed directly passed to the root element of component. Use this to customize it like adding custom classes, adding `colspan` etc. |
3434
| collect | Function | | | A simple function which takes `props` as input and returns the data to be passed to contextmenu. |
3535
| disable | Boolean | | `false` | Prop to ignore right clicks and display the default browser context menu. |
36-
| holdToDisplay | Number | | `1000` | This is applicable only for touch screens. The time (in ms) for which, user has to hold down his/her finger before the menu is shown. Note: To disable the long press trigger on left-click just set a negative holdToDisplay value such as `-1` |
36+
| holdToDisplay | Number | | `1000` | This is applicable only for touch screens. The time (in ms) for which, user has to hold down his/her finger before the menu is shown. **Note:** To disable the long press trigger on left-click just set a negative holdToDisplay value such as `-1` |
3737
| renderTag | String or React Element | | | The element inside which the Component must be wrapped. By default `div` is used. But this prop can used to customize it. |
3838

3939
### `<MenuItem />`

0 commit comments

Comments
 (0)