Open prime4567 opened 1 year ago
You can use inputProps
prop for styling the input.
As an example
<DropDown
label="Category"
mode="flat"
visible={showMultiSelectDropDown}
showDropDown={() => setShowMultiSelectDropDown(true)}
onDismiss={() => setShowMultiSelectDropDown(false)}
value={category}
setValue={setCategory}
list={ categoryList }
inputProps={{ style:styles.expenseInput }} // THIS
/>
I am passing StyleSheet via property "style". However, the StyleSheet doesn't seems to be processed.
Below is the code
and the StyleSheet
The margin however is not visible in the screen