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

clean 및 에러해결

parent 0c95c768
import React, { useState } from 'react'; 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'; import AntDesign from 'react-native-vector-icons/AntDesign';
const Accordion = ({ const Accordion = ({
......
...@@ -9,13 +9,11 @@ const NotificationBox = (props) => { ...@@ -9,13 +9,11 @@ const NotificationBox = (props) => {
Animated.timing(opacity, { Animated.timing(opacity, {
toValue: 1, toValue: 1,
duration: 500, duration: 500,
useNativeDriver: true,
}), }),
Animated.delay(2500), Animated.delay(2500),
Animated.timing(opacity, { Animated.timing(opacity, {
toValue: 0, toValue: 0,
duration: 500, duration: 500,
useNativeDriver: true,
}), }),
]).start(() => { ]).start(() => {
props.onHide(); props.onHide();
......
...@@ -10,6 +10,7 @@ const WeeklyCalendar = ({ ...@@ -10,6 +10,7 @@ const WeeklyCalendar = ({
markedDates, markedDates,
customDatesStyles customDatesStyles
}) => { }) => {
return ( return (
<View> <View>
<CalendarStrip <CalendarStrip
...@@ -26,7 +27,7 @@ const WeeklyCalendar = ({ ...@@ -26,7 +27,7 @@ const WeeklyCalendar = ({
highlightDateNameStyle={{ color: 'white' }} highlightDateNameStyle={{ color: 'white' }}
highlightDateNumberStyle={{ color: 'white' }} highlightDateNumberStyle={{ color: 'white' }}
highlightDateContainerStyle={{ backgroundColor: '#6b768a' }} highlightDateContainerStyle={{ backgroundColor: '#6b768a' }}
markedDates={markedDates||[]} markedDates={markedDates}
startingDate={startingDate} startingDate={startingDate}
selectedDate={selectedDate} selectedDate={selectedDate}
onWeekChanged={onWeekChanged} 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