We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76a4e1e commit b836771Copy full SHA for b836771
src/Date/Month.tsx
@@ -303,10 +303,12 @@ function Month(props: MonthSingleProps | MonthRangeProps | MonthMultiProps) {
303
>
304
{monthName} {year}
305
</Text>
306
- <View style={{
307
- ...(isHorizontal ? styles.opacity1 : styles.opacity0),
308
- padding: 8,
309
- }}>
+ <View
+ style={[
+ styles.iconWrapper,
+ isHorizontal ? styles.opacity1 : styles.opacity0
310
+ ]}
311
+ >
312
<Icon
313
size={24}
314
color={theme.isV3
@@ -368,6 +370,9 @@ export const monthHeaderSingleHeight =
368
370
monthHeaderSingleMarginTop + monthHeaderSingleMarginBottom
369
371
372
const styles = StyleSheet.create({
373
+ iconWrapper: {
374
+ padding: 8
375
+ },
376
week: {
377
flexDirection: 'row',
378
marginBottom: weekMargin,
0 commit comments