i am using List.Item component of react-native-paper.
I have following code:
<List.Item
title={<FirstNameInput />}
right={props => <List.Icon {...props} icon="pencil" />}
style={{ backgroundColor: customTheme.colors.background, justifyContent: 'center' }}
/>
But the icon stays to the top. How can I keep it vertically aligned regardless of the height of the title
?