react-native-dropdown-picker
react-native-dropdown-picker copied to clipboard
Multiple rows
Is there a ways to make the component show multiple rows like here:
I don't find a way to pass a ref, or change style via props to the container.
This is essentially what I would like to do, I can do it in web but I don't find in the docs a way of doing it crossplatform using the library API.
<div class="css-view-175oi2r r-flexDirection-18u37iz r-alignItems-1awozwy r-flexGrow-16y2uox" style="
max-width: 300px;
max-height: 120px;
flex-wrap: wrap;
row-gap: 12px;
overflow: auto;
"></div>
Am I missing something? Otherwise it would be nice to also expose that container style prop to get more flexibility.
Found props extendableBadgeCont which solved my case! Thanks to the great people who maintains for such a good repo :)
Found props extendableBadgeCont which solved my case! Thanks to the great people who maintains for such a good repo :)
![]()
do you know the prop to style the container? I don't seem to find the one as I want to cap it after 3 lines and make it overflow