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
@gHashTag
gHashTag / Calendar.js
Last active September 26, 2018 14:42 — forked from ujinkp/Calendar.js
import React, {Component} from 'react';
import {
Text,
StyleSheet,
ScrollView,
View
} from 'react-native';
import {Calendar, LocaleConfig} from 'react-native-calendars';
LocaleConfig.locales['ua'] = {
@gHashTag
gHashTag / Main.js
Last active September 24, 2018 17:31
import React, { Component } from 'react'
import { View } from 'react-native'
import { connect } from 'react-redux'
import _ from 'lodash'
import {
searchChanged,
getMovies
} from '../actions'
import { Header, Layout, ImageCard, Search } from '../components/uikit'
import {
import React from 'react'
import { TouchableOpacity, TextInput, View, StyleSheet } from 'react-native'
import { ifIphoneX } from 'react-native-iphone-x-helper'
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons'
import { BLUE, W } from '../../../constants'
const Search = ({
iconRight,
onPressRight,
onChangeText,
@gHashTag
gHashTag / Header.js
Last active September 22, 2018 10:44
import React from 'react'
import { TouchableOpacity, View, Text, StyleSheet } from 'react-native'
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons'
import { ifIphoneX } from 'react-native-iphone-x-helper'
import Ionicons from 'react-native-vector-icons/Ionicons'
import { BLUE, W } from '../../../constants'
const Header = ({
iconLeft,
iconRight,
import React from 'react'
import {
TouchableOpacity,
StyleSheet,
Text
} from 'react-native'
import {
Icon
} from 'native-base'
import {
Наименование react-native init Expo
Вы можете добавить собственные модули написанные на Java / Objective-C Да Нет
Вес стандартного приложения Hello World 5 мБ 25 мБ
Требуется Android Studio и XCode для запуска проектов Да Нет
Шрифты необходимо импортировать вручную в XCode Да Нет
Если вы хотите поделиться этим приложением вам нужно отправить весь файл (apk; ipa) Да Нет
Предоставляет JS API из коробки (Push-Notifications; Asset Manager) Нет Да
Вы можете использовать библиотеки которые используют собственный код в Objective-C/Java Да Нет
Совместное использование приложения (с помощью QR-кода или ссылки) Сложней Легче
import React from 'react'
import { createDrawerNavigator } from 'react-navigation'
//import { createBottomTabNavigator } from 'react-navigation'
import MaterialIcons from 'react-native-vector-icons/MaterialIcons'
//import Ionicons from 'react-native-vector-icons/Ionicons'
import One from './src/screen1'
import Two from './src/screen2'
import Three from './src/screen3'
import { BLUE } from './constants'
@gHashTag
gHashTag / .eslintrc
Created August 25, 2018 14:27 — forked from radiovisual/.eslintrc
React Native AirBnB ESLint Config
{
"parser": "babel-eslint",
"plugins": [
"react",
"react-native"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
import React from 'react'
import { TouchableOpacity, View, Text, StyleSheet, SafeAreaView } from 'react-native'
import Ionicons from 'react-native-vector-icons/Ionicons'
import { w, BLUE } from '../../../constants'
const Header = ({
detail,
leftIcon,
leftColor,
headerColor,
import React, { PureComponent } from 'react'
import { TouchableOpacity, Dimensions, Image, View, Text } from 'react-native'
import { Helmet } from 'react-helmet'
import { Header } from '../common'
import { find } from 'lodash'
import { data } from './data'
import './styles.css'
import ArrowNext from '../ArrowNext.png'
import ArrowBack from '../ArrowBack.png'
import { constants } from '../../constants'