Closed raed667 closed 1 year ago
@sarahdayan excellent suggestion ! 👍
I'll publish this fix for now, and do a follow-up PR
We could even create the type to apply to all components props:
type ExtractComponentProps<TType> = Omit<
TType,
'items' | 'status' | 'createElement' | 'Fragment'
>
As internally reported by @sarahdayan
The proposed fix is to omit
Renderer
props from the react components.