Skip to content

Support passing through extra properties #29

Closed
@mscharley

Description

@mscharley

Reference: https://material-ui.com/guides/api/#spread

My specific use-case was attaching ARIA properties to a button. In React, these would filter down to the <button> element ultimately and just work. The strict typing gets in the way a little here. Perhaps all the components should inherit the props from ReactDOMRe.props and then extend from there?

It feels like #27 is related to this too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions