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
Type '{ children: Element; title: string; breadcrumbs: { url: string; target: string; }[]; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<Props, ComponentState, never>> & Readonl...'.
Type '{ children: Element; title: string; breadcrumbs: { url: string; target: string; }[]; }' is not assignable to type 'Readonly<Props>'.
Types of property 'breadcrumbs' are incompatible.
Type '{ url: string; target: string; }[]' is not assignable to type 'LinkAction[] | undefined'.
Type '{ url: string; target: string; }[]' is not assignable to type 'LinkAction[]'.
Type '{ url: string; target: string; }' is not assignable to type 'LinkAction'.
Property 'target' does not exist on type 'LinkAction'.
Issue summary
I'm using 2.0.0.beta-18 but took a look at a few 1.x.x releases and the type hasn't changed.
Expected behavior
From what I've gathered reading #116 (comment) and other issues, 1.7.0 introduced handling for the following to be added to breadcrumbs:
I'm assuming this is supposed to be referencing EASDKAction?
polaris/src/types.ts
Lines 47 to 52 in 5de1c3c
Actual behavior
Steps to reproduce the problem
Specifications
The text was updated successfully, but these errors were encountered: