react-native-modal-selector icon indicating copy to clipboard operation
react-native-modal-selector copied to clipboard

Need to add a drop down icon in default container

Open ArjunM26 opened this issue 5 years ago • 2 comments

Dear support team,

I need to add a drop-down icon at the end of default container, I tried it with the custom select box it is working but I needed to use selected key I can't use the custom select box, I need to use the default style.

Thank you

ArjunM26 avatar May 05 '20 14:05 ArjunM26

This is a community supported library. If there's a feature you need, please submit a PR.

I don't fully understand your use case. Could you pass the selected key to your custom select box? It would pass from ModalSelector to your component (the parent), then to your custom select box. It would help if you posted a code snippet.

peacechen avatar May 05 '20 17:05 peacechen

You can embed inside a View and add icon with absolute position, it hides behind the select and gives the feeling that it is part of the component.

image

Result: Captura de pantalla 2022-04-06 a la(s) 11 20 01

jueleto avatar Apr 06 '22 15:04 jueleto