Open darrenswhite opened 5 months ago
I think this is an angular property and we should be using react-cmdk
instead of just cmdk
. However, it's going to require a bunch of refactoring because of course they don't have the same exports ðŸ˜
In the meantime, probably just eslintignore these two properties with:
// eslint-disable-next-line react/no-unknown-property -- temp fix while using wrong cmdk package
Use this instead:
data-cmdk-input-wrapper=''
Describe the bug
The generated code for the
Command
component contains a data attributecmdk-input-wrapper
(presumably used for styling?). ESLint complains about this unknown attribute.Affected component/components
Command
How to reproduce
npx shadcn-ui@latest add command
.plugin:react/recommended
).Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting