Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Fire.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/***********************
* Module dependencies *
***********************/
import { ImageManipulator } from 'expo';
import uuid from 'uuid';

Expand Down Expand Up @@ -192,4 +195,7 @@ class Fire {
}

Fire.shared = new Fire();
/***************
* Export Fire *
**************/
export default Fire;
6 changes: 6 additions & 0 deletions components/FeedList/Footer.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/***********************
* Module dependencies *
***********************/
import React from 'react';
import { StyleSheet, Text, TouchableHighlight } from 'react-native';

/*****************
* Export Footer *
****************/
export default class Footer extends React.Component {
onPress = () => {
this.props.onPress && this.props.onPress();
Expand Down
3 changes: 3 additions & 0 deletions components/FeedList/Item.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/***********************
* Module dependencies *
***********************/
import { Ionicons } from '@expo/vector-icons';
import React from 'react';
import { Dimensions, Image, StyleSheet, Text, View } from 'react-native';
Expand Down
6 changes: 6 additions & 0 deletions components/FeedList/List.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/***********************
* Module dependencies *
***********************/
import React from 'react';
import { Dimensions, FlatList, Platform } from 'react-native';

Expand Down Expand Up @@ -53,4 +56,7 @@ class List extends React.Component {
);
}
}
/***************
* Export List *
**************/
export default List;
6 changes: 6 additions & 0 deletions components/FeedList/Separator.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/***********************
* Module dependencies *
***********************/
import React from 'react';
import { StyleSheet, View } from 'react-native';

/****************
* Export props *
***************/
export default props => (
<View {...props} style={[styles.container, props.style]} />
);
Expand Down
6 changes: 6 additions & 0 deletions components/tabBarIcon.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/***********************
* Module dependencies *
***********************/
import { MaterialIcons } from '@expo/vector-icons';
import * as React from 'react';

Expand All @@ -10,4 +13,7 @@ const tabBarIcon = name => ({ tintColor }) => (
/>
);

/*********************
* Export tabBarIcon *
********************/
export default tabBarIcon;
6 changes: 6 additions & 0 deletions screens/FeedScreen.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/***********************
* Module dependencies *
***********************/
import firebase from 'firebase';
import React, { Component } from 'react';
import {
Expand All @@ -13,6 +16,9 @@ import Fire from '../Fire';

const PAGE_SIZE = 5;

/***************************
* Export class FeedScreen *
**************************/
export default class FeedScreen extends Component {
state = {
loading: false,
Expand Down
7 changes: 7 additions & 0 deletions screens/NewPostScreen.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
/***********************
* Module dependencies *
***********************/
import { Ionicons } from '@expo/vector-icons';
import React from 'react';
import { Image, StyleSheet, TextInput, View } from 'react-native';
import HeaderButtons from 'react-navigation-header-buttons';

import Fire from '../Fire';

/******************************
* Export class NewPostScreen *
*****************************/

export default class NewPostScreen extends React.Component<Props> {
static navigationOptions = ({ navigation }) => ({
title: 'New Post',
Expand Down
6 changes: 6 additions & 0 deletions screens/SelectPhotoScreen.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
/***********************
* Module dependencies *
***********************/
import { Constants, ImagePicker, Permissions } from 'expo';
import React, { Component } from 'react';
import { StyleSheet, Text, View } from 'react-native';
import { Card } from 'react-native-elements';

/**********************************
* Export class SelectPhotoScreen *
*********************************/
export default class SelectPhotoScreen extends Component {
state = {};

Expand Down
6 changes: 6 additions & 0 deletions utils/getSlug.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/***********************
* Module dependencies *
***********************/
import { Constants } from 'expo';

function getSlug() {
Expand All @@ -6,4 +9,7 @@ function getSlug() {
} = Constants;
return slug;
}
/**********************
* Export getUserInfo *
*********************/
export default getSlug;
6 changes: 6 additions & 0 deletions utils/getUserInfo.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/***********************
* Module dependencies *
***********************/
import { Constants } from 'expo';
import getSlug from './getSlug';

Expand All @@ -18,4 +21,7 @@ function getUserInfo() {
platform,
};
}
/**********************
* Export getUserInfo *
*********************/
export default getUserInfo;