Skip to content
Snippets Groups Projects
Commit dcff1a03 authored by Julia Friesel's avatar Julia Friesel
Browse files

Make calendar vertically scrollable

parent f5b37161
No related branches found
No related tags found
No related merge requests found
import React, { Component } from 'react'
import { View } from 'react-native'
import { Calendar } from 'react-native-calendars'
import { CalendarList } from 'react-native-calendars'
import * as styles from '../styles'
import { getOrCreateCycleDay, bleedingDaysSortedByDate } from '../db'
......@@ -35,7 +35,7 @@ export default class CalendarView extends Component {
render() {
return (
<View style={styles.container}>
<Calendar
<CalendarList
onDayPress={ this.passDateToDayView.bind(this) }
markedDates = { this.state.bleedingDaysInCalFormat }
markingType = {'period'}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment