mirror of
https://github.com/urosran/cally.git
synced 2026-10-23 09:57:55 +00:00
build nr updt
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user