Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Expose the native attributes of elements such as button and P in the component #5423

Copy link
Copy link
Closed
@bosens-China

Description

@bosens-China
Issue body actions

What problem does this feature solve?

I have another component of my-button, he has a size and border properties, but if I pass id and role in typeScript, it will prompt me an error, props does not have this property, is there a method similar to react to inherit the type of HtmlButtonElement?

What does the proposed API look like?

Not yet

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.