Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Month name is not appearing #375

Open
nihatt opened this issue Jan 26, 2024 · 0 comments
Open

Month name is not appearing #375

nihatt opened this issue Jan 26, 2024 · 0 comments

Comments

@nihatt
Copy link

nihatt commented Jan 26, 2024

Ekran Resmi 2024-01-26 11 09 53

As seen in the picture i cannot see the month's name , here is my code , appriciate all kinds of help. (I couldn't do the locale.js file i would like to get help )

        <CalendarStrip
          scrollable={true}
          iconContainer={{
            flex: 0.1,
            paddingVertical: 0,
          }}
          startDate={selectedDate}
          selectedDate={selectedDate}
          minDate={slotItem?.days[0]?.date ?? moment()}
          maxDate={slotItem?.days[slotItem?.days?.length - 1]?.date ?? moment()}
          datesWhitelist={[
            {
              start: slotItem?.days[0]?.date ?? moment(),
              end: slotItem?.days[slotItem?.days?.length - 1]?.date ?? moment(),
            },
          ]}
          onDateSelected={item => onSelectedDate(item)}
          innerStyle={styles.calendarStripInnerStyle}
          calendarHeaderStyle={styles.heading}
          calendarColor={'transparent'}
          dateNameStyle={[globalStyle.cg, globalStyle.fs12]}
          dateNumberStyle={[globalStyle.colorBlue, globalStyle.fs12]}
          highlightDateNumberStyle={globalStyle.cw}
          highlightDateNameStyle={globalStyle.cw}
          highlightDateContainerStyle={styles.highlightDateContainerStyle}
          disabledDateNameStyle={globalStyle.cg}
          disabledDateNumberStyle={globalStyle.cg}
          dayContainerStyle={[globalStyle.backgroundColorWhite]}
          daySelectionAnimation={{
            type: 'background',
            duration: 300,
            highlightColor: '#BCC2C5',
          }}
        />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant