react-native-sortable-list icon indicating copy to clipboard operation
react-native-sortable-list copied to clipboard

Add possibility to sort disable a specific item

Open iamajoe opened this issue 6 years ago • 0 comments

This came from a situation where I wanted to setup header items that I didn't want to move. This could be useful in other situations aswell.

Here is an example usage:

const data = [
  { text: 'Foo', sortDisabled: true },
  { text: 'Bar' }
];

The first data item wouldn't be sort enabled but the second one would.

iamajoe avatar Jan 05 '20 15:01 iamajoe