Component Props #1539
Answered
by
sutaungmai
sutaungmai
asked this question in
Help
Component Props
#1539
-
I got some unexpected error. Here is my index.ts of select component: And here is my usage: But I got error when giving id or other props. Here is its error message: |
Beta Was this translation helpful? Give feedback.
Answered by
sutaungmai
Dec 9, 2024
Replies: 1 comment 2 replies
-
You should pass the id and name to the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Aha I got it, the problem could be that I am using
npm
insidepnpm
project. But I solved it by re-initialting the process. Thanks for the help!! :)