[Advanced] Why Wrapping/Mirroring a Component
not just use ComponentPropsWithoutRef
?
#771
Labels
ADVANCED
Advanced Cheatsheet
What cheatsheet is this about? (if applicable)
Advanced cheatsheet
What's your issue or idea?
I found that
Wrapping/Mirroring a Component
andWrapping/Mirroring a HTML Element
use different way.But why not just use
ComponentPropsWithoutRef
in the same way?Is there any problem of using
ComponentPropsWithoutRef
?The text was updated successfully, but these errors were encountered: