build nr updt

This commit is contained in:
Milan Paunovic
2024-10-30 03:22:30 +01:00
parent 01338e7c70
commit 06bd141b3c
3 changed files with 13 additions and 11 deletions
+9 -9
View File
@@ -137,11 +137,10 @@ export const EventCalendar: React.FC<EventCalendarProps> = React.memo(
) ?? [];
}, [events, selectedDate, mode]);
const renderCustomDateForMonth = (date: Date) => {
const circleStyle = useMemo<ViewStyle>(
() => ({
position: "absolute",
width: 30,
const renderCustomDateForMonth = (date: Date) => {
const circleStyle = useMemo<ViewStyle>(
() => ({
width: 30,
height: 30,
justifyContent: "center",
alignItems: "center",
@@ -238,13 +237,14 @@ export const EventCalendar: React.FC<EventCalendarProps> = React.memo(
}}
dayHeaderStyle={dateStyle}
dayHeaderHighlightColor={"white"}
renderCustomDateForMonth={renderCustomDateForMonth}
// renderCustomDateForMonth={renderCustomDateForMonth}
showAdjacentMonths
hourStyle={styles.hourStyle}
ampm
/>
);
}
/>
);
}
);
const styles = StyleSheet.create({