constructor(props) {
    super(props);

    let startDate = moment(); // today

    // Create a week's worth of custom date styles and marked dates.
    let customDatesStyles = [];
    let markedDates = [];
    for (let i=0; i<7; i++) {
      let date = startDate.clone().add(i, 'days');

      customDatesStyles.push({
        startDate: date, // Single date since no endDate provided
        dateNameStyle: {color: 'blue'},
        dateNumberStyle: {color: 'purple'},
        highlightDateNameStyle: {color: 'pink'},
        highlightDateNumberStyle: {color: 'yellow'},
        // Random color...
        dateContainerStyle: { backgroundColor: `#${(`#00000${(Math.random() * (1 << 24) | 0).toString(16)}`).slice(-6)}` },
      });

      let dots = [];
      let lines = [];

      if (i % 2) {
        lines.push({
          color: 'cyan',
          selectedColor: 'orange',
        });
      }
      else {
        dots.push({
          color: 'red',
          selectedColor: 'yellow',
        });
      }
      markedDates.push({
        date,
        dots,
        lines
      });
    }

    this.state = {
      selectedDate: undefined,
      customDatesStyles,
      markedDates,
      startDate,
    };
  }
Sample React Native Calendar Strip
https://github.com/BugiDev/react-native-calendar-strip
@flow