Skip to content

Commit

Permalink
[docs] show optional isDarkTheme parameter in ContextMenu API docs (#…
Browse files Browse the repository at this point in the history
…3273)

To make it more obvious that you can manually create a dark context menu, as raised in #3229
  • Loading branch information
adidahiya authored and giladgray committed Jan 9, 2019
1 parent d8b247a commit 6de8989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/components/context-menu/context-menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The imperative API provides a single static `ContextMenu` object, enforcing the
principle that only one context menu can be open at a time. This API is ideal
for programmatically triggered menus or for non-React apps.

- `ContextMenu.show(menu: JSX.Element, offset: IOffset, onClose?: () => void): void`
- `ContextMenu.show(menu: JSX.Element, offset: IOffset, onClose?: () => void, isDarkTheme?: boolean): void`

Show the given element at the given offset from the top-left corner of the
viewport. Showing a menu closes the previously shown one automatically. The
Expand Down

1 comment on commit 6de8989

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[docs] show optional isDarkTheme parameter in ContextMenu API docs (#3273)

Previews: documentation | landing | table

Please sign in to comment.