diff --git a/packages/react/src/types.ts b/packages/react/src/types.ts index 395c980ab06..a7c37ec8336 100644 --- a/packages/react/src/types.ts +++ b/packages/react/src/types.ts @@ -144,7 +144,7 @@ export type ReactComponentPropsByPathValue< ? Rest extends ReactComponentPath ? ReactComponentPropsByPathValue : never - : never + : React.ComponentProps : P extends keyof T ? React.ComponentProps : never