Skip to content

Instantly share code, notes, and snippets.

View gHashTag's full-sized avatar
:electron:
t27

Dmitrii Vasilev gHashTag

:electron:
t27
View GitHub Profile
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
},
[
"runnin_cool",
"technology",
"terezekalman",
"body_by_rocket",
"fitjuellaa",
"vicky_aisha",
"yesenia_oz",
"alesenka_lesenka",
"kotyakotyara",
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'
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,
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
// 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"
}
[
{
"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",
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
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',
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}>