BugiDev / react-native-calendar-strip

Easy to use and visually stunning calendar component for React Native.
MIT License
943 stars 327 forks source link

weekendDateNameStyle and weekendDateNumberStyle not working #341

Open mr-kelk opened 2 years ago

mr-kelk commented 2 years ago

weekendDateNameStyle and weekendDateNumberStyle not working.

<CalendarStrip
          style={{ height: 40, paddingTop: 20, paddingBottom: 15 }}
          calendarHeaderStyle={{ height: 0, opacity: 0 }}
          daySelectionAnimation={{ border: "border", duration: 200,  borderWidth: 1, borderBottomColor: COLORS.darkblue }}
          styleWeekend = {true}
          iconLeft = {null}
          iconRight = {null}
          selectedDate={moment()}
          startingDate={moment()}
          dateNameStyle={[{ color: COLORS.darkgray }, Styles.TextData ]}
          dateNumberStyle={[{ color: COLORS.darkgray }, Styles.TextData ]} 
          highlightDateNumberStyle={[{ color: COLORS.lightblue}, Styles.TextData ]}
          highlightDateNameStyle={[{  color: COLORS.lightblue }, Styles.TextData]}
          weekendDateNameStyle={[{ color: COLORS.grayline}, Styles.TextData ]}
          weekendDateNumberStyle={[{ color: COLORS.grayline }, Styles.TextData ]}
          iconContainer={{flex: 0.000001}}
          scrollToOnSetSelectedDate={false}
          scrollable={true}
          scrollerPaging={true}
        />

the color does not change, what to do ?

zhizas commented 2 years ago

+1

Dien090497 commented 1 year ago

+1

kkai0828 commented 1 year ago

+1

nwdeer commented 10 months ago

Same issue