Replies: 1 comment 1 reply
-
@piszczu4 did you found a solution? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have
svg
files stored in separate files. I want to load them in React and use as react components as below:I installed
svgr
and used innext.config.js
as below:It works but intellisense does not work i.e.
SampleIcon
hasany
type. I tried to createdeclarations.d.ts
file in root directory and add it intsconfig.json
ininclude
list but does not work as well. Here is my declaration:Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions