deanmcpherson / react-native-sortable-listview

Drag drop capable wrapper of ListView for React Native
MIT License
918 stars 235 forks source link

Document sortRowStyle #21

Closed blaesus closed 8 years ago

blaesus commented 8 years ago

As titled. The default opacity of 0.2 is too pale for our use case. We like to customise the opacity, while keeping the default.

CaleyD commented 8 years ago

This functionality is already available via the more powerful/generic yet undocumented sortRowStyle property:

<SortableListView sortRowStyle={{opacity: 0.8}} ... />

Perhaps a pull request for documenting the current property?

blaesus commented 8 years ago

@CaleyD Interesting, that's a better solution. I'll revise the PR.

blaesus commented 8 years ago

@CaleyD PR updated.