We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
How to reproduce?
Command: npm create tauri-ui
npm create tauri-ui
-> Next.js
Command: npm install && npm run build
npm install && npm run build
Output:
> npm run build > [email protected] build > next build ✓ Creating an optimized production build ✓ Compiled successfully Linting and checking validity of types .Failed to compile. ./src/components/ui/dialog.tsx:14:3 Type error: Property 'className' does not exist on type 'DialogPortalProps'. Merge branch 'main' of https://github.com/marcelldac/tauri-ui 12 | 13 | const DialogPortal = ({ > 14 | className, | ^ 15 | ...props 16 | }: DialogPrimitive.DialogPortalProps) => ( 17 | <DialogPrimitive.Portal className={cn(className)} {...props} />
I just deleted classname of this errors
How do i make this works?
The text was updated successfully, but these errors were encountered:
Will removing the classname directly have any impact?
Sorry, something went wrong.
If I run the application, it returns this error.
Can be fixed by updating the shadcn/ui component. pnpm dlx shadcn-ui@latest add alert-dialog for example.
pnpm dlx shadcn-ui@latest add alert-dialog
No branches or pull requests
How to reproduce?
Command:
npm create tauri-ui
-> Next.js
Command:
npm install && npm run build
Output:
I just deleted classname of this errors
How do i make this works?
The text was updated successfully, but these errors were encountered: