Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

Commit d86b86a

Browse files
committed
fix(Tooltip): Fix non-existant Placement import
Placement needs to be imported as a type. This fixes the non-existant import error during build.
1 parent 745cd40 commit d86b86a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/Tooltip/Tooltip.react.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
import * as React from "react";
44
import cn from "classnames";
5-
import { Manager, Placement, Reference, Popper } from "react-popper";
6-
import type { PopperChildrenProps, ReferenceChildrenProps } from "react-popper";
5+
import { Manager, Reference, Popper } from "react-popper";
6+
import type {
7+
Placement,
8+
PopperChildrenProps,
9+
ReferenceChildrenProps,
10+
} from "react-popper";
711
import "./Tooltip.css";
812

913
type Props = {|

0 commit comments

Comments
 (0)