Skip to content

Allow Support for multiple parameters in JSX syntax #181

@AkinAguda

Description

@AkinAguda

The Problem

  • An error is thrown whenever I try to use pass in more than 1 argument to a "component" using the <Component /> syntax.

Screenshot 2022-06-18 at 11 02 54

  • This is the component

Screenshot 2022-06-18 at 11 02 37

  • This is the error thrown

Screenshot 2022-06-18 at 11 11 11

  • The only alternative is to render the component like this:

Screenshot 2022-06-18 at 11 12 28

Suggestion

It would be nice if we could allow support for multiple arguments in the JSX syntax as well

<Range
  min={1}
  max={10}
 />

Or let me know if there is a particular reason for this.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions