clauderic / clauderic/react-sortable-hoc
Own component in SortableElement
Open
- 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.