Skip to content

How can i style the dropdown? #25

Answered by azeezat
CrispenGari asked this question in Q&A
Discussion options

You must be logged in to vote

@CrispenGari The minHeight set on the component is preventing you from doing this. You can override it as follows. There is an example in the sandbox

    dropdownContainerStyle={{ width: 200  }}
    dropdownStyle={{
        paddingVertical: 5,
        paddingHorizontal: 5,
        minHeight: 40,
      }}
    dropdownIconStyle={{ top: 15, right: 10 }}

I hope this helps.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@CrispenGari
Comment options

@azeezat
Comment options

@CrispenGari
Comment options

@azeezat
Comment options

Answer selected by azeezat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants