floating-ui/react-popper

Typescript declaration has no exported member Arrow or Target

kluplau opened this issue · 1 comments

Steps to reproduce the problem

  1. Install CRA with Typescript npx create-react-app my-react-app --typescript
  2. Install react-popper `npm install --save react-popper
  3. Copy demo

What is the expected behavior?

The imports should match the exports.

What went wrong?

An error saying the TypeScript declaration doesn't have a member Arrow and Target.

image

Packages versions

  • Popper.js: 1.15.0
  • react-popper: 1.3.3

I have no idea where I got the demo source code from. Couldn't find it again. Maybe some old example code? Anyway - it works now. Sorry for disturbance.