clauderic / clauderic/react-sortable-hoc

Own component in SortableElement

Open
#662 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

How can i use another component as SortableElement?
I try smt like this but it doesn't work correctly.
```
const SortableItem = SortableElement(({value}) => {value});

const SortableList = SortableContainer(({items}) => {
return (


    {items.map((value, index) => (

    ))}

);
});
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.