BpkCardList #1639
Annotations
7 errors
Run typecheck:
packages/bpk-component-card-list/src/BpkCardListGrid/BpkCardListGrid-test.tsx#L28
Type '{ children: Element[]; accessory: "expand"; expandText: string; showContent: Mock<any, any, any>; hideContent: Mock<any, any, any>; collapsed: true; setCollapsed: Mock<...>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
|
Run typecheck:
packages/bpk-component-card-list/src/BpkCardListGrid/BpkCardListGrid-test.tsx#L46
Type '{ children: Element[]; accessory: "button"; expandText: string; onButtonClick: Mock<any, any, any>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
|
Run typecheck:
packages/bpk-component-card-list/src/BpkCardListStack/BpkCardListStack-test.tsx#L28
Type '{ children: Element[]; accessory: "expand"; expandText: string; showContent: Mock<any, any, any>; hideContent: Mock<any, any, any>; collapsed: true; setCollapsed: Mock<...>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
|
Run typecheck:
packages/bpk-component-card-list/src/BpkCardListStack/BpkCardListStack-test.tsx#L46
Type '{ children: Element[]; accessory: "button"; expandText: string; onButtonClick: Mock<any, any, any>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
|
Run typecheck:
packages/bpk-component-card-list/src/BpkExpand/BpkExpand-test.tsx#L31
'BpkExpand' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of 'children' is 'ReactElement<any, string | JSXElementConstructor<any>>'.
|
Run typecheck:
packages/bpk-component-card-list/src/BpkExpand/BpkExpand-test.tsx#L50
'BpkExpand' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of 'children' is 'ReactElement<any, string | JSXElementConstructor<any>>'.
|
Run typecheck
Process completed with exit code 2.
|
Loading