antonioru / beautiful-react-diagrams

💎 A collection of lightweight React components and hooks to build diagrams with ease 💎
https://antonioru.github.io/beautiful-react-diagrams/
MIT License
2.67k stars 175 forks source link

How to add `className` and `readonly` to link with `connect` function? #124

Open Flcwl opened 3 years ago

Flcwl commented 3 years ago

Is your feature request related to a problem? Please describe.

The connect function only can connect to portId, but can't custom the extra information.

Describe the solution you'd like

I can add className and readonly to link with connect function.

Describe alternatives you've considered

-

Additional context

-