import Styles from "@/constants/Styles";
import { Text, View } from "react-native";

type Props = {
   text: string;
   isSelected: boolean;
   isSign: boolean;
}


export default function ItemDateCalendar({ text, isSelected, isSign }: Props) {
   return (
      <>
         <View style={{ alignItems: 'center' }}>
            <Text style={[isSelected ? Styles.cWhite : Styles.cBlack]}>{text}</Text>
            <View style={[Styles.signDate, { backgroundColor: isSign ? 'red' : 'transparent' }]}></View>
         </View>
      </>
   )
}