Skip to content

[Advanced] Why Wrapping/Mirroring a Component not just use ComponentPropsWithoutRef #771

Closed
@Farley-Chen

Description

@Farley-Chen

What cheatsheet is this about? (if applicable)

Advanced cheatsheet

What's your issue or idea?

I found that Wrapping/Mirroring a Component and Wrapping/Mirroring a HTML Element use different way.

But why not just use ComponentPropsWithoutRef in the same way?

Is there any problem of using ComponentPropsWithoutRef?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ADVANCEDAdvanced CheatsheetwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions