Skip to content

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

Closed
@bosens-China

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

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