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, { PureComponent } from 'react' | |
| import { Text, View, StyleSheet } from 'react-native' | |
| import { ifIphoneX } from 'react-native-iphone-x-helper' | |
| const styles = StyleSheet.create({ | |
| container: { | |
| ...ifIphoneX( | |
| { | |
| paddingTop: 7 | |
| }, |
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
| [ | |
| "runnin_cool", | |
| "technology", | |
| "terezekalman", | |
| "body_by_rocket", | |
| "fitjuellaa", | |
| "vicky_aisha", | |
| "yesenia_oz", | |
| "alesenka_lesenka", | |
| "kotyakotyara", |
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, | |
| StyleSheet, | |
| FlatList | |
| } from 'react-native' | |
| import { connect } from 'react-redux' | |
| import { func, shape, string, number, any, bool, arrayOf } from 'prop-types' | |
| import { CellTopUp, Spinner, FooterSpinner, Footer, NoTransaction } from '../../../components/common' | |
| import { SCAN_CODE, CANVASSER_LIST_DETAIL } from '../../../config/routes' |
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, { PureComponent } from 'react' | |
| import { View } from 'react-native' | |
| import { connect } from 'react-redux' | |
| import { shape, number } from 'prop-types' | |
| import { | |
| Header, | |
| Balance, | |
| Button, | |
| SimpleUserCard, | |
| SelectAmount, |
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 { Text, View, StyleSheet } from 'react-native' | |
| import { LIGHT_GRAY, WHITE } from '../../styles/colors' | |
| import { func, number } from '../../prop-types' | |
| class TimerCount extends Component { | |
| state = { | |
| remainingTime: this.props.totalDuration, | |
| start: true, | |
| visibleTimer: true |
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
| // Top-level build file where you can add configuration options common to all sub-projects/modules. | |
| buildscript { | |
| ext { | |
| buildToolsVersion = "27.0.3" | |
| minSdkVersion = 16 | |
| compileSdkVersion = 27 | |
| targetSdkVersion = 26 | |
| supportLibVersion = "27.1.1" | |
| } |
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
| [ | |
| { | |
| "id": 0, | |
| "title": "Mantra Radio", | |
| "url": "http://s6.radioheart.ru:8012/live", | |
| "illustration": "https://github.com/dharmarooms/dharmarooms.github.io/blob/master/data/radioData/Mantra%20Radio.png?raw=true" | |
| }, | |
| { | |
| "id": 1, | |
| "title": "Chroma Radio Spa", |
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
| FAIL tests/post.test.js (27.068s) | |
| ● Should be able to update own post | |
| Timeout - Async callback was not invoked within the 5000ms timeout specified by jest.setTimeout. | |
| at mapper (node_modules/jest-jasmine2/build/queue_runner.js:41:52) | |
| FAIL tests/comment.test.js (20.17s) | |
| ● Console |
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
| platform :ios, '9.0' | |
| use_frameworks! | |
| target 'demo' do | |
| pod 'yoga', path: '../node_modules/react-native/ReactCommon/yoga/' | |
| pod 'React', path: '../node_modules/react-native/', :subspecs => [ | |
| 'Core', | |
| 'ART', | |
| 'RCTActionSheet', |
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 { TouchableOpacity, Image, View, Text, StyleSheet } from 'react-native' | |
| import { w } from '../../../constants' | |
| const ImageCard = ({ data, onPress}) => { | |
| const { container, sub, h1, cover } = styles | |
| const { image, name } = data | |
| const img = `https${image.medium.slice(4)}` | |
| return ( | |
| <TouchableOpacity onPress={onPress}> |