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
(property) use:sortable: true
Type '{ children: any; "use:sortable": true; class: string; classList: { "opacity-25": boolean; "transition-transform": boolean; }; }' is not assignable to type 'HTMLAttributes<HTMLDivElement>'.
Property 'use:sortable' does not exist on type 'HTMLAttributes<HTMLDivElement>'.ts(2322)
Type 'Element' is not assignable to type '(Element | ((activeDraggable: Draggable) => Element)) & Element'.
Type 'number' is not assignable to type '(Element | ((activeDraggable: Draggable) => Element)) & Element'.ts(2322)
drag-overlay.d.ts(4, 5): The expected type comes from property 'children' which is declared here on type 'IntrinsicAttributes & DragOverlayProps & { children?: Element; }'
What is the proper way to avoid this error?
TSX support would be very nice. Thanks!
The text was updated successfully, but these errors were encountered:
@thdxr that gist is running correctly on the solid-dnd.com site so hard to say without more info from you. Please open a new issue though as I'm closing this one.
Thanks for the great component I've been lookin for.
Sortable list (vertical) in
https://solid-dnd.com/#examples
https://gist.github.com/stken2050/84de233a3f759c679dc0a6cbcfff6c50
as
Sortable.jsx
wokrs fine, but basically my projects are based on TS, TSX, so tried asSortable.tsx
, then unsurprisingly had errors.What is the proper way to avoid this error?
TSX support would be very nice. Thanks!
The text was updated successfully, but these errors were encountered: