sasza2 / arrows

MIT License
60 stars 11 forks source link

A way to set a gap #8

Closed datanotion closed 4 years ago

datanotion commented 4 years ago

Thank you for your great component! Is there a way to set a gap between the start/end of the arrow so it doesn't actually touch the element? Like:

image

sasza2 commented 4 years ago

Hi! you're welcome.

The easiest way I can think of is just add some padding inside of children elements like:

https://codesandbox.io/s/icy-water-5s43v

What do you think?

datanotion commented 4 years ago

Thank should work - thank you!