We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f5261e5 + a5fe374 commit 9a0836fCopy full SHA for 9a0836f
src/Date/DatePickerModalHeader.tsx
@@ -44,12 +44,13 @@ export default function DatePickerModalHeader(
44
color={color}
45
testID="react-native-paper-dates-close"
46
/>
47
- <Appbar.Content title={undefined} />
+ <Appbar.Content title="" />
48
<Button
49
textColor={theme.isV3 ? theme.colors.primary : color}
50
onPress={props.onSave}
51
disabled={props.saveLabelDisabled ?? false}
52
uppercase={props.uppercase ?? true}
53
+ contentStyle={styles.buttonStyle}
54
testID="react-native-paper-dates-save"
55
>
56
{saveLabel}
@@ -68,4 +69,7 @@ const styles = StyleSheet.create({
68
69
elevation: 0,
70
backgroundColor: 'transparent',
71
},
72
+ buttonStyle: {
73
+ paddingHorizontal: 8,
74
+ },
75
})
0 commit comments