Skip to content

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

Description

@bosens-China

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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