Open hatsuki0111 opened 2 months ago
The property 'disabled' does not exist on type 'ButtonProps'.
package.json
"dependencies": { "@ark-ui/react": "^3.10.0", "@styled-system/css": "^5.1.5", "react": "^18.2.0", "react-dom": "^18.2.0", "styled-system": "^5.1.5", "vite-tsconfig-paths": "^5.0.1" }, "devDependencies": { "@pandacss/dev": "^0.45.2", "@park-ui/panda-preset": "^0.42.0", "@types/react": "^18.0.17", "@types/react-dom": "^18.0.6", "@vitejs/plugin-react": "^2.0.1", "typescript": "^4.6.4", "vite": "^3.0.7" },
tsconfig.json
"compilerOptions": { "target": "ESNext", "useDefineForClassFields": true, "lib": [ "DOM", "DOM.Iterable", "ESNext" ], "allowJs": false, "skipLibCheck": true, "esModuleInterop": false, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, "module": "Node16", "moduleResolution": "Node16", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true, "jsx": "react-jsx", "baseUrl": ".", "paths": { "~/*": ["./src/*"] } },
@hatsuki0111 FYI: I had the same problem, but it was resolved after upgrading react and typescript to the following versions.
@types/react@18.3.7
react@18.3.1
typescript@5.5.4
The property 'disabled' does not exist on type 'ButtonProps'.
package.json
tsconfig.json