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

[bug] Property 'w3m-button' does not exist on type 'JSX.IntrinsicElements'. #3093

Open
mdesousa opened this issue Oct 16, 2024 · 1 comment
Labels
bug Something isn't working needs review

Comments

@mdesousa
Copy link

Link to minimal reproducible example

https://docs.reown.com/appkit/react/core/installation

Summary

Hi, we are following the steps in the installation. We use vite and typescript and are trying to use the w3m-button component as shown towards the end. The application actually works when we run npm run dev but it won't build in typescript and gives the following error: Property 'w3m-button' does not exist on type 'JSX.IntrinsicElements'.

Are there any extra-steps missing that are needed to make the build aware of the w3m-button component?

Thanks!

List of related npm package versions

@reown/[email protected]
@reown/[email protected]
[email protected]

@mdesousa mdesousa added bug Something isn't working needs review labels Oct 16, 2024
@mdesousa
Copy link
Author

i think i found the solution, just add an import to my project as follows:

import '@reown/appkit/react';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs review
Projects
None yet
Development

No branches or pull requests

1 participant