Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ts: 'Button' cannot be used as a JSX component. #331

Open
Sloth9527 opened this issue Oct 12, 2021 · 1 comment
Open

ts: 'Button' cannot be used as a JSX component. #331

Sloth9527 opened this issue Oct 12, 2021 · 1 comment

Comments

@Sloth9527
Copy link

Do you want to request a feature or report a bug (建议还是bug) ?

Bug

What is the current behavior? (现有状况)

'Button' cannot be used as a JSX component.
  Its instance type 'Button' is not a valid JSX element.
    Type 'Button' is missing the following properties from type 'ElementClass': context, setState, forceUpdate, props, and 2 more.

What is the expected behavior? (应有状况)

'Button' should be used as a JSX component.

Which versions of React-weui, weui, and which OS and device are affected by this issue? (React-weui版本 weui版本 机型和系统)

  • "react-weui": "^1.2.3",
  • "weui": "1.1.0",
  • "@types/react-weui": "^1.0.0",
@VivekBaldha0712
Copy link

I would like to work on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants