This file contains hidden or 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 from 'react' | |
import { View } from 'react-native' | |
const CardSection = (props) => { | |
return ( | |
<View style={styles.containerStyle}> | |
{props.children} | |
</View> | |
) | |
} |
This file contains hidden or 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 from 'react' | |
import { View } from 'react-native' | |
const Card = (props) => { | |
return ( | |
<View style={styles.containerStyle}> | |
{props.children} | |
</View> | |
) | |
} |
This file contains hidden or 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
export * from './Button' | |
export * from './Card' | |
export * from './CardSection' |
This file contains hidden or 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 { View, Text, ScrollView } from 'react-native' | |
import axios from 'axios' | |
import GymDetail from './GymDetail' | |
import { customHeader } from '../config' | |
export default class GymList extends Component { | |
static navigationOptions = { | |
title: 'Closest Gyms Near You!' | |
} |
This file contains hidden or 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 from 'react' | |
import { | |
Text, | |
View, | |
Image, | |
Linking | |
} from 'react-native' | |
import { | |
Card, | |
CardSection, |
This file contains hidden or 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 { StyleSheet, Image, View } from 'react-native' | |
import YelpApi from 'v3-yelp-api' | |
import config from '../config' | |
import { Button, Card, CardSection } from './components' | |
export default class PrimarySearch extends Component { | |
static navigationOptions = { | |
title: 'Local Gym Finder' | |
} |
This file contains hidden or 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 { AppRegistry } from 'react-native' | |
import Navigator from './app/AppNavigator' | |
AppRegistry.registerComponent('gymFinder', () => Navigator) |
This file contains hidden or 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 chai, { expect } from 'chai' | |
import chaiChange from 'chai-change' | |
import DirectedGraph from '../../src/advanced/DirectedGraph' | |
chai.use(chaiChange) | |
describe('DirectedGraph()', () => { | |
it('exists', () => { | |
expect(DirectedGraph).to.be.a('function') |