react-native-sectioned-multi-select icon indicating copy to clipboard operation
react-native-sectioned-multi-select copied to clipboard

Added subDisplayKey option

Open ialmoqren opened this issue 5 years ago • 2 comments

To make it easier to use localized arrays

ialmoqren avatar Apr 08 '19 02:04 ialmoqren

nice, thanks for this. I'm thinking it might make more sense for the prop to be a function that receives the item and is expected to return a string, so the translation could be retrieved from elsewhere (for example). {subDisplayKey ? subDisplayKey(item) : item[displayKey]}

I guess it would need to be called something more appropriate like customLabelRender though.

renrizzolo avatar Apr 10 '19 02:04 renrizzolo

This PR is stale because it has been open 45 days with no activity.

github-actions[bot] avatar Feb 03 '22 02:02 github-actions[bot]