diff --git a/example/src/screens/expandableCalendarScreen.tsx b/example/src/screens/expandableCalendarScreen.tsx index 413a047e7..76d6b8bef 100644 --- a/example/src/screens/expandableCalendarScreen.tsx +++ b/example/src/screens/expandableCalendarScreen.tsx @@ -1,5 +1,5 @@ import React, {useRef, useCallback} from 'react'; -import {Animated, Easing, StyleSheet, Text, TouchableOpacity} from 'react-native'; +import {Animated, Button, Easing, StyleSheet, Text, TouchableOpacity} from 'react-native'; import {ExpandableCalendar, AgendaList, CalendarProvider, WeekCalendar} from 'react-native-calendars'; import testIDs from '../testIDs'; import {agendaItems, getMarkedDates} from '../mocks/agendaItems'; @@ -32,7 +32,7 @@ const ExpandableCalendarScreen = (props: Props) => { // }, []); const renderItem = useCallback(({item}: any) => { - return ; + return ; }, []); const calendarRef = useRef<{toggleCalendarPosition: () => boolean}>(null); @@ -57,7 +57,7 @@ const ExpandableCalendarScreen = (props: Props) => { return ( {date?.toString('MMMM yyyy')} - + ); }, @@ -83,16 +83,16 @@ const ExpandableCalendarScreen = (props: Props) => { // disableAutoDaySelection={[ExpandableCalendar.navigationTypes.MONTH_SCROLL, ExpandableCalendar.navigationTypes.MONTH_ARROWS]} > {weekView ? ( - + ) : ( { sectionStyle={styles.section} // dayFormat={'yyyy-MM-d'} /> +