react-native-search-header
react-native-search-header copied to clipboard
Style prop doesn't seem to override
<SearchHeader
style = {{
container: {
...myContainerStyle
},
header: {
...mySearchHeaderStyle
},
suggestion: {
...mySearchSuggestionStyle
},
input: {
...mySearchInputTextStyle
},
suggestionEntry: {
...mySearchSuggestionEntryTextStyle
},
icon: {
...myIconStyle
}
}}
/>
Style prop doesn't change anything no matter what I write inside it. I've seen another issue that is open, but that person has problems only with fontSize?
Let me fix this and the fontSize issue. I'll check in the fixes in a day or two.
Updated to version 0.3.1. It was an easy fix. I used the lodash merge function incorrectly when merging styles.
Thank you very much!