Add Amplify V6 support to React library #19
Annotations
7 errors
lib/components/multiselect.tsx#L24
Type '{ children: string; variant: "outlined"; color: "blue"; className: string; }' is missing the following properties from type 'Pick<ButtonProps, "children" | "value" | "name" | "className" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | ... 264 more ... | "loading">': placeholder, onPointerEnterCapture, onPointerLeaveCapture
|
lib/components/multiselect.tsx#L28
Type '{ children: Element[]; className: string; }' is missing the following properties from type 'Pick<MenuListProps, "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | ... 251 more ... | "dismissible">': placeholder, onPointerEnterCapture, onPointerLeaveCapture
|
lib/components/multiselect.tsx#L30
Type '{ children: Element; key: number; onClick: () => void; }' is missing the following properties from type 'Pick<MenuItemProps & ButtonHTMLAttributes<HTMLButtonElement>, "children" | "value" | "name" | "className" | "type" | ... 263 more ... | "onPointerLeaveCapture">': placeholder, onPointerEnterCapture, onPointerLeaveCapture
|
lib/components/select.tsx#L24
Type '{ children: Element[]; id: string; "data-testid": string; value: string; onChange: (val: string | undefined) => void; className: string; labelProps: { className: string; }; menuProps: { className: string; }; }' is missing the following properties from type 'Pick<SelectProps, "children" | "error" | "value" | "name" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | ... 265 more ... | "menuProps">': placeholder, onPointerEnterCapture, onPointerLeaveCapture
|
lib/layout/FeedbackButton.tsx#L12
Type '{ children: string; variant: "filled"; size: "lg"; placeholder: string; className: string; onClick: () => void; }' is missing the following properties from type 'Pick<ButtonProps, "children" | "value" | "name" | "className" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | ... 264 more ... | "loading">': onPointerEnterCapture, onPointerLeaveCapture
|
lib/layout/Header.tsx#L35
Type '{ children: string; variant: "filled"; placeholder: string; className: string; onClick: () => void; }' is missing the following properties from type 'Pick<ButtonProps, "children" | "value" | "name" | "className" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | ... 264 more ... | "loading">': onPointerEnterCapture, onPointerLeaveCapture
|
|
This job failed
Loading