Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Button component is setting props as HTML attributes #181

Description

@barelyfitz

I noticed in one of our implementations using the Button component, the element on the page looks like this:

<button themed="[object Object]" 

Could this be caused because the Button component renders the node and passes through all the props? Perhaps this needs to be refactored.

https://github.com/rentpath/react-ui/blob/master/packages/react-ui-core/src/Button/Button.js#L37

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

    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