Skip to content

Commit

Permalink
[core] docs(Popover) fix import statements (#3708)
Browse files Browse the repository at this point in the history
  • Loading branch information
switz authored and adidahiya committed Aug 19, 2019
1 parent 3632e68 commit 6d8cd7e
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 @@ -82,7 +82,7 @@ See the [callout here](#core/components/button.props) for more details.
</div>

```tsx
const { Button, Intent, Popover, PopoverInteractionKind, Position } = "@blueprintjs/core";
import { Button, Intent, Popover, PopoverInteractionKind, Position } from "@blueprintjs/core";

export class PopoverExample extends React.Component {
public render() {
Expand Down Expand Up @@ -205,7 +205,7 @@ The popover will re-open when `disabled` is set to `false`.
#### Example controlled usage

```tsx
const { Popover, Position } = "@blueprintjs/core";
import { Popover, Position } from "@blueprintjs/core";

export class ControlledPopoverExample extends React.Component<{}, { isOpen: boolean }> {
public state = { isOpen: false };
Expand Down

1 comment on commit 6d8cd7e

@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 import statements (#3708)

Previews: documentation | landing | table

Please sign in to comment.