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

Merge branch '79-calendar-vertically-scrollable-or-at-least-swipeable' into 'master'

Resolve "calendar: vertically scrollable or at least swipeable"

Closes #79

See merge request bloodyhealth/drip!49
parents f5b37161 dcff1a03
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