This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from "react"; | |
import "react-dates/initialize"; | |
import { DayPickerRangeController } from "react-dates"; | |
import CustomizableCalendarDay from "react-dates/lib/components/CustomizableCalendarDay.js"; | |
import "react-dates/lib/css/_datepicker.css"; | |
import "./styles"; | |
const START_DATE = "startDate"; | |
const END_DATE = "endDate"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// @flow | |
import { AsyncStorage } from "react-native"; | |
// require("es6-promise").polyfill(); | |
// require("isomorphic-fetch"); | |
const getAuthToken = async token => AsyncStorage.getItem("auth_token"); | |
const getDefaultHttpParams = async () => { |