Commit 9a694c44 authored by Choi Ga Young's avatar Choi Ga Young
Browse files

clean 및 에러해결

parent 0c95c768
import React, { useState } from 'react';
import { Animated, Text, View, StyleSheet, Pressable } from 'react-native';
import { Text, View, StyleSheet, Pressable } from 'react-native';
import AntDesign from 'react-native-vector-icons/AntDesign';
const Accordion = ({
......
......@@ -9,13 +9,11 @@ const NotificationBox = (props) => {
Animated.timing(opacity, {
toValue: 1,
duration: 500,
useNativeDriver: true,
}),
Animated.delay(2500),
Animated.timing(opacity, {
toValue: 0,
duration: 500,
useNativeDriver: true,
}),
]).start(() => {
props.onHide();
......
......@@ -10,6 +10,7 @@ const WeeklyCalendar = ({
markedDates,
customDatesStyles
}) => {
return (
<View>
<CalendarStrip
......@@ -26,7 +27,7 @@ const WeeklyCalendar = ({
highlightDateNameStyle={{ color: 'white' }}
highlightDateNumberStyle={{ color: 'white' }}
highlightDateContainerStyle={{ backgroundColor: '#6b768a' }}
markedDates={markedDates||[]}
markedDates={markedDates}
startingDate={startingDate}
selectedDate={selectedDate}
onWeekChanged={onWeekChanged}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment