react-native-search-header icon indicating copy to clipboard operation
react-native-search-header copied to clipboard

Style prop doesn't seem to override

Open Tiamatmate opened this issue 6 years ago • 3 comments

<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?

Tiamatmate avatar Jan 28 '19 09:01 Tiamatmate

Let me fix this and the fontSize issue. I'll check in the fixes in a day or two.

tuantle avatar Jan 28 '19 21:01 tuantle

Updated to version 0.3.1. It was an easy fix. I used the lodash merge function incorrectly when merging styles.

tuantle avatar Jan 28 '19 21:01 tuantle

Thank you very much!

Tiamatmate avatar Jan 29 '19 10:01 Tiamatmate