我正在使用 react-native-paper 的 List.Item 组件。
我有以下代码:
<List.Item
title={<FirstNameInput />}
right={props => <List.Icon {...props} icon="pencil" />}
style={{ backgroundColor: customTheme.colors.background, justifyContent: 'center' }}
/>
但图标停留在顶部。无论高度如何,如何保持垂直对齐title
?