reaviz / reaflow

🎯 React library for building workflow editors, flow charts and diagrams. Maintained by @goodcodeus.
https://reaflow.dev
Apache License 2.0
2.11k stars 122 forks source link

Module '"reflow"' has no exported member 'Canvas'. #245

Closed acollazomayer closed 6 months ago

acollazomayer commented 10 months ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Current behavior

Screenshot 2023-12-13 at 17 40 11

Expected behavior

No errors should appear in console

Minimal reproduction of the problem with instructions

I just installed the latest version of the library

What is the motivation / use case for changing the behavior?

Environment


Libs:
- react version: X.Y.Z
- realayers version: X.Y.Z


Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:
- Node version: XX  
- Platform:  

Others:

asasmith commented 9 months ago

Should this be import { Canvas } from 'reaflow'; instead of import Canvas from 'reaflow';