reaviz / reaflow

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

Reason for NodeProps's properties prop to be any? #172

Closed bram209 closed 2 years ago

bram209 commented 2 years ago

Is there a reason for properties in NodeProps to be any? From briefly looking over the code, should this not be NodeData?

I can try to assign the appropriate type and make a PR, just double checking ; ) Thanks for the library, looking good so far!

bram209 commented 2 years ago

https://github.com/reaviz/reaflow/blob/master/src/symbols/Node/Node.tsx#L59

amcdnl commented 2 years ago

Might be a mistake - go ahead and send a PR.