You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues and my issue is unique
My issue appears in the command-line and not only in the text editor
Description Overview
i set the react/require-default-props rules with functions - defaultArguments option.
but i got an error that propType "asChild" is not required, but has no corresponding defaultProps declaration. in my shadcn/ui 'breadcrumb' component.
amisu1203
changed the title
The functions option (defaultArguments) in the react/require-default-props rule does not work as expected.
[help wanted] The functions option (defaultArguments) in the react/require-default-props rule does not work as expected.
Apr 18, 2024
Is there an existing issue for this?
Description Overview
i set the react/require-default-props rules with functions - defaultArguments option.
but i got an error that
propType "asChild" is not required, but has no corresponding defaultProps declaration.
in my shadcn/ui 'breadcrumb' component.what should i do for resolve this problem?
Expected Behavior
.
eslint-plugin-react version
v7.34.1
eslint version
v8.57.0
node version
v20.11.0
The text was updated successfully, but these errors were encountered: