react-sticky-el icon indicating copy to clipboard operation
react-sticky-el copied to clipboard

got defaultProps remove warning when used with react 18

Open j-joker opened this issue 1 year ago • 3 comments

Warning: Sticky: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.

j-joker avatar Aug 22 '23 19:08 j-joker

+1 can we get a PR for this ?

L.E: I've figured it out that using RenderPropSticky can get rid of this error.

0xboga avatar Sep 23 '23 07:09 0xboga

up

eremenko1 avatar Oct 27 '23 09:10 eremenko1