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
// following prop 'rightNode' is NOT accepted.
<DefaultedCustomCrumbsHeader rightNode={null} />
error message:
Type '{ rightNode: null; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<Pick<InjectedProps<unknown>, never>, any, any>> & Readonly<...> & Readonly<...>'.
Property 'rightNode' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<Pick<InjectedProps<unknown>, never>, any, any>> & Readonly<...> & Readonly<...>'. TS2322
Question: Am I doing something wrong here? How to properly pass the additional props?
The only way I've found it to work is to proxy the props with spread:
When using typescript I am unable to pass down the additional props to component wrapped in
withBreadcrumbs
method.error message:
Question: Am I doing something wrong here? How to properly pass the additional props?
The only way I've found it to work is to proxy the props with spread:
Dependencies:
The text was updated successfully, but these errors were encountered: