refactor: resizer and draggable components #6367
Annotations
10 errors
src/component/1d/multiAnalysis/AnalysisRange.tsx#L82
Type '{ children: ({ x1, x2 }: Position, isActive: boolean) => Element; tag: "svg"; onEnd: (resized: any) => void; initialPosition: { x2: number; x1: number; }; parentElement: HTMLDivElement | null; key: string; disabled: boolean; }' is not assignable to type 'IntrinsicAttributes & ResizerProps'.
|
src/component/elements/draggable/SVGDraggable.tsx#L40
Property 'position' does not exist on type 'Draggable'.
|
src/component/elements/draggable/SVGDraggable.tsx#L45
Argument of type '{ position: Position; parentElement: HTMLElement | null | undefined; dragHandleClassName: string | undefined; }' is not assignable to parameter of type 'UseDraggable'.
|
src/component/elements/resizer/DivResizer.tsx#L43
Property 'position' does not exist on type 'Draggable'.
|
src/component/elements/resizer/DivResizer.tsx#L43
Property 'position' does not exist on type 'Draggable'.
|
src/component/elements/resizer/DivResizer.tsx#L44
Property 'position' does not exist on type 'Draggable'.
|
src/component/elements/resizer/DivResizer.tsx#L44
Property 'position' does not exist on type 'Draggable'.
|
src/component/elements/resizer/DivResizer.tsx#L48
Property 'position' does not exist on type 'Draggable'.
|
src/component/elements/resizer/DivResizer.tsx#L56
Property 'position' does not exist on type 'Draggable'.
|
src/component/elements/resizer/DivResizer.tsx#L65
Property 'prevPosition' does not exist on type 'UseResizer'.
|
The logs for this run have expired and are no longer available.
Loading