react-scrollable-anchor icon indicating copy to clipboard operation
react-scrollable-anchor copied to clipboard

ScrollableAnchor doesn't need children

Open sentient06 opened this issue 8 years ago • 1 comments

I think ScrollableAnchor can be modified to be a self-contained component like so:

<ScrollableAnchor id="some_id" />

The children should be optional.

sentient06 avatar Aug 17 '17 15:08 sentient06

I think that's reasonable. I'll try to get a patch in shortly, unless you're interested in adding it. Thanks for the input!

gabergg avatar Oct 07 '17 07:10 gabergg