-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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] - pnpm - VSCode's Intellisense doesn't work for all props #3025
Comments
@wingkwong I have another bug-free nextui project, so I tracked down its type definitions and found out the types I'm missing come from But
I tried installing |
can you share your package.json and the way you install? |
https://github.com/vietan0/todo-fe/blob/main/package.json What do you mean by 'the way I install'? I use global installation if that's what you're asking. |
like are you using pnpm or npm or other package managers. if it is pnpm, make sure you've done this step: https://nextui.org/docs/guide/installation#setup-pnpm-optional |
I found out that |
NextUI Version
2.3.6
VSCode Version
1.89.1
Describe the bug
IntelliSense displays some props and not others.
There's no
color
prop here:<Button />
<Input />
In
<Button />
, props likecolor
,onPress
,variant
,radius
don't show up, while props likeisLoading
,spinner
,disableRipple
do.In other components e.g.
<Card />
, no props show up.Your Example Website or App
https://stackblitz.com/edit/vitejs-vite-vz9tyq?file=src%2FReproIssue.tsx
Steps to Reproduce the Bug or Issue
Ctrl
+Space
Expected behavior
Full list of props to show up.
Screenshots or Videos
2024-05-19-13-42-44.mp4
Operating System Version
Windows
The text was updated successfully, but these errors were encountered: