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 from 'react'
import { View, Dimensions, StyleSheet, Text, TouchableWithoutFeedback} from 'react-native'
import { constants } from '../../constants'
const win = Dimensions.get('window')
const w = win.width
const mobile5 = w > 315 && w < 341
const mobile6 = w > 342 && w < 415
const tablet = w < 991 && w > 415
const desktop = w > 992
import React from 'react'
import { TouchableOpacity, StyleSheet, View, Text } from 'react-native'
import Ionicons from 'react-native-vector-icons/Ionicons'
const Header = ({
colorLeft,
leftButton,
leftIcon,
title,
colorRight,
import React from 'react'
import { createBottomTabNavigator } from 'react-navigation'
import Ionicons from 'react-native-vector-icons/Ionicons'
import Tab1 from './tab1'
import Tab2 from './tab2'
export default createBottomTabNavigator({
Screen: {
screen: Tab1,
navigationOptions: {
import React, { PureComponent } from 'react'
import { ScrollView, Text, View } from 'react-native'
import { connect } from 'react-redux'
import { getTickers } from '../actions/tickersAction'
import { Header, Spinner } from '../common'
class Main extends PureComponent {
static navigationOptions = ({ navigation }) => ({
header:
<Header
package com.iyogi;
import android.app.Application;
import com.facebook.FacebookSdk;
import com.facebook.CallbackManager;
import com.facebook.appevents.AppEventsLogger;
import com.facebook.react.ReactApplication;
import com.facebook.reactnative.androidsdk.FBSDKPackage;
import com.facebook.react.ReactNativeHost;
import React, { Component } from 'react';
import { View, Text } from 'react-native'
import sha1 from 'js-sha1'
const url = 'http://localhost:9000/fondy'
class App extends Component {
state = {
amount: '100',
version: "2"
services:
nginx:
restart: always
image: nginx
container_name: nginx
ports:
- "80:80"
- "443:443"
version: "3"
services:
nginx:
restart: always
image: nginx
container_name: nginx
ports:
- "80:80"
- "443:443"
import React, { PureComponent } from 'react'
import PropTypes from 'prop-types'
import { Animated, Easing } from 'react-native'
import { ViewPropTypes } from './config'
const ANIMATED_EASING_PREFIXES = ['easeInOut', 'easeOut', 'easeIn']
export default class Collapsible extends PureComponent {
static propTypes = {
align: PropTypes.oneOf(['top', 'center', 'bottom']),
import React, { Component } from 'react'
import { View, TouchableHighlight } from 'react-native'
import PropTypes from 'prop-types'
import Collapsible from './Collapsible'
import { ViewPropTypes } from './config'
const COLLAPSIBLE_PROPS = Object.keys(Collapsible.propTypes)
const VIEW_PROPS = Object.keys(ViewPropTypes)
export default class Accordion extends Component {