How can i style the dropdown? #25
Answered by azeezat
CrispenGari asked this question in Q&A
-
| How can i style the <Dropdown dropdownStyle={{ borderWidth: 0, // <--- this works but other properties are not working }} .... /> |
Beta Was this translation helpful? Give feedback.
Answered by azeezat Jul 31, 2023
Replies: 1 comment 4 replies
-
| @CrispenGari The dropdownContainerStyle={{ width: 200 }} dropdownStyle={{ paddingVertical: 5, paddingHorizontal: 5, minHeight: 40, }} dropdownIconStyle={{ top: 15, right: 10 }}I hope this helps. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by azeezat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@CrispenGari The
minHeightset on the component is preventing you from doing this. You can override it as follows. There is an example in the sandboxI hope this helps.