react-polymorphic-box icon indicating copy to clipboard operation
react-polymorphic-box copied to clipboard

feat: implement correct ref type from element passed by as prop

Open iamyoki opened this issue 4 years ago • 0 comments

This feature implemented the correctly ref type which retrieves from element passed by as prop

Previous:

image

After:

image

image

image

  • [x] 🤗 Correct Element type for ref
  • [x] 🤗 Correct type suggestion for ref
  • [x] 🤗 Support component ref

iamyoki avatar Dec 06 '21 04:12 iamyoki