feat: composable primitive components #4802
Annotations
10 errors and 1 warning
Lint:
packages/react/src/components/primitive/allowed-content.tsx#L11
This assertion is unnecessary since it does not change the type of the expression
|
Lint:
packages/react/src/components/primitive/allowed-content.tsx#L31
Do not pass children as props. Instead, nest children between the opening and closing tags
|
Lint:
packages/react/src/components/primitive/allowed-content.tsx#L38
Type literal only has a call signature, you should use a function type instead
|
Lint:
packages/react/src/components/primitive/button.tsx#L9
This assertion is unnecessary since it does not change the type of the expression
|
Lint:
packages/react/src/components/primitive/button.tsx#L42
Unsafe call of an `any` typed value
|
Lint:
packages/react/src/components/primitive/button.tsx#L79
Type literal only has a call signature, you should use a function type instead
|
Lint:
packages/react/src/components/primitive/clear-button.tsx#L9
This assertion is unnecessary since it does not change the type of the expression
|
Lint:
packages/react/src/components/primitive/clear-button.tsx#L32
Unsafe call of an `any` typed value
|
Lint:
packages/react/src/components/primitive/clear-button.tsx#L37
Do not pass children as props. Instead, nest children between the opening and closing tags
|
Lint:
packages/react/src/components/primitive/clear-button.tsx#L43
Type literal only has a call signature, you should use a function type instead
|
Lint:
packages/react/src/components/primitive/root.tsx#L295
React Hook useMemo has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useMemo call and refer to those specific props inside useMemo
|
Loading