Skip to content

Commit

Permalink
[core] docs(Popover): fix text referencing "dismiss" buttons in examp…
Browse files Browse the repository at this point in the history
…le (#3923)
  • Loading branch information
boazrymland authored and adidahiya committed Jan 15, 2020
1 parent e9d09bb commit b20db8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/components/popover/popover.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,8 @@ and `Classes.POPOVER_DISMISS_OVERRIDE`, that can be attached to elements to
describe whether click events should dismiss the enclosing popover.

To mark an element (and its children) as "dismiss elements", simply add the
class `Classes.POPOVER_DISMISS`. For example, the **Dismiss** button in the
top-level [Popover example](#core/components/popover) has this class, and all
class `Classes.POPOVER_DISMISS`. For example, the **Cancel** and **Delete** buttons in the
top-level [Popover example](#core/components/popover) have this class, and all
`MenuItem`s receive this class by default (see `shouldDismissPopover` prop). To
enable this behavior on the entire popover body, pass
`popoverClassName={Classes.POPOVER_DISMISS}`.
Expand Down

1 comment on commit b20db8a

@blueprint-bot
Copy link

Choose a reason for hiding this comment

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

[core] docs(Popover): fix text referencing "dismiss" buttons in example (#3923)

Previews: documentation | landing | table

Please sign in to comment.