react-polymorphic-box
react-polymorphic-box copied to clipboard
feat: implement correct ref type from element passed by as prop
This feature implemented the correctly ref type which retrieves from element passed by as prop
Previous:

After:



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