-
Notifications
You must be signed in to change notification settings - Fork 34
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
Using a typescript(.tsx) file. #65
Comments
I've managed to fix the above installation issue, but when I call user_card("SMALL", 1), a window opens in the viewer, but nothing renders. |
I think you need an SVG loader, perhaps https://www.pluralsight.com/guides/how-to-load-svg-with-react-and-webpack. |
Thanks for the response @stla! I've fixed the installation issue, I'm wondering if you have any in insight on why this component doesn't render. Did I setup something wrong, or is it not compatible with the ReactR framework? |
@andrewelamb I'm not a React master. But did you set the SVG loader? |
Hi, we added the SVG loader and the issue is gone. Thank you. But the Rstudio viewer window is still blank when I call I tried adding the Any ideas on how to resolve this? |
I already had a similar issue but I don't remember with which package. Perhaps you have to add
|
Hi, I have updated the webpack configs with what you suggested but it doesn't help. I am still getting the same error. My webpack file is located here: |
I'm trying to create a widget for this component, here.
Documentation.
This isn't working. I wonder if typescript will work, or I'm just doing something wrong. I'm getting this long error when attempting to install:
The text was updated successfully, but these errors were encountered: